Page 1 of 1

Building using existing "configure" and "makefile"

Posted: Tue Jan 19, 2010 12:32 pm
by dahack
Hi to all.

I am new to CoreLite IDE. I am trying to develop PostgreSQL source code using CodeLite.

I created a new workspace and imported all the folders unpacked from the source package:
http://www.postgresql.org/ftp/source/v8.4.2/

As you can imagine, PostgreSQL has got its own "configure" and "makefile" and I don't know how to build it correctly using those.
I have got some building errors using CodeLite even if running the usual "configure", "make", "make install" by terminal is successful.

Any suggestion, please?
Thank you.

Ubuntu 9.10 - CodeLite 1.0.2893 build 2893

The build messages with errors at the bottom:

----------Build Started--------
----------Building project:[ pgsql_manolo - Debug ]----------
pgsql_manolo.mk
781: warning: overriding commands for target `Debug/crc32.o'
725: warning: ignoring old commands for target `Debug/crc32.o'
784: warning: overriding commands for target `Debug/crc32.o.d'
728: warning: ignoring old commands for target `Debug/crc32.o.d'
1047: warning: overriding commands for target `Debug/random.o'
179: warning: ignoring old commands for target `Debug/random.o'
1050: warning: overriding commands for target `Debug/random.o.d'
182: warning: ignoring old commands for target `Debug/random.o.d'
1467: warning: overriding commands for target `Debug/pg_crc.o'
1299: warning: ignoring old commands for target `Debug/pg_crc.o'
1470: warning: overriding commands for target `Debug/pg_crc.o.d'
1302: warning: ignoring old commands for target `Debug/pg_crc.o.d'
1502: warning: overriding commands for target `Debug/common.o'
1334: warning: ignoring old commands for target `Debug/common.o'
1505: warning: overriding commands for target `Debug/common.o.d'
1337: warning: ignoring old commands for target `Debug/common.o.d'
1509: warning: overriding commands for target `Debug/keywords.o'
1341: warning: ignoring old commands for target `Debug/keywords.o'
1512: warning: overriding commands for target `Debug/keywords.o.d'
1344: warning: ignoring old commands for target `Debug/keywords.o.d'
1537: warning: overriding commands for target `Debug/dumputils.o'
1362: warning: ignoring old commands for target `Debug/dumputils.o'
1540: warning: overriding commands for target `Debug/dumputils.o.d'
1365: warning: ignoring old commands for target `Debug/dumputils.o.d'
1565: warning: overriding commands for target `Debug/kwlookup.o'
1404: warning: ignoring old commands for target `Debug/kwlookup.o'
1568: warning: overriding commands for target `Debug/kwlookup.o.d'
1407: warning: ignoring old commands for target `Debug/kwlookup.o.d'
1621: warning: overriding commands for target `Debug/print.o'
1320: warning: ignoring old commands for target `Debug/print.o'
1624: warning: overriding commands for target `Debug/print.o.d'
1323: warning: ignoring old commands for target `Debug/print.o.d'
1635: warning: overriding commands for target `Debug/common.o'
1502: warning: ignoring old commands for target `Debug/common.o'
1638: warning: overriding commands for target `Debug/common.o.d'
1505: warning: ignoring old commands for target `Debug/common.o.d'
1649: warning: overriding commands for target `Debug/keywords.o'
1509: warning: ignoring old commands for target `Debug/keywords.o'
1652: warning: overriding commands for target `Debug/keywords.o.d'
1512: warning: ignoring old commands for target `Debug/keywords.o.d'
1663: warning: overriding commands for target `Debug/mbprint.o'
1348: warning: ignoring old commands for target `Debug/mbprint.o'
1666: warning: overriding commands for target `Debug/mbprint.o.d'
1351: warning: ignoring old commands for target `Debug/mbprint.o.d'
1677: warning: overriding commands for target `Debug/dumputils.o'
1537: warning: ignoring old commands for target `Debug/dumputils.o'
1680: warning: overriding commands for target `Debug/dumputils.o.d'
1540: warning: ignoring old commands for target `Debug/dumputils.o.d'
1691: warning: overriding commands for target `Debug/kwlookup.o'
1565: warning: ignoring old commands for target `Debug/kwlookup.o'
1694: warning: overriding commands for target `Debug/kwlookup.o.d'
1568: warning: ignoring old commands for target `Debug/kwlookup.o.d'
2286: warning: overriding commands for target `Debug/md5.o'
186: warning: ignoring old commands for target `Debug/md5.o'
2289: warning: overriding commands for target `Debug/md5.o.d'
189: warning: ignoring old commands for target `Debug/md5.o.d'
2307: warning: overriding commands for target `Debug/crypt.o'
1145: warning: ignoring old commands for target `Debug/crypt.o'
2310: warning: overriding commands for target `Debug/crypt.o.d'
1148: warning: ignoring old commands for target `Debug/crypt.o.d'
2328: warning: overriding commands for target `Debug/pqsignal.o'
1453: warning: ignoring old commands for target `Debug/pqsignal.o'
2331: warning: overriding commands for target `Debug/pqsignal.o.d'
1456: warning: ignoring old commands for target `Debug/pqsignal.o.d'
2594: warning: overriding commands for target `Debug/copy.o'
1383: warning: ignoring old commands for target `Debug/copy.o'
2597: warning: overriding commands for target `Debug/copy.o.d'
1386: warning: ignoring old commands for target `Debug/copy.o.d'
3560: warning: overriding commands for target `Debug/print.o'
1621: warning: ignoring old commands for target `Debug/print.o'
3563: warning: overriding commands for target `Debug/print.o.d'
1624: warning: ignoring old commands for target `Debug/print.o.d'
4162: warning: overriding commands for target `Debug/encnames.o'
1446: warning: ignoring old commands for target `Debug/encnames.o'
4165: warning: overriding commands for target `Debug/encnames.o.d'
1449: warning: ignoring old commands for target `Debug/encnames.o.d'
4302: warning: overriding commands for target `Debug/pg_crc.o'
1467: warning: ignoring old commands for target `Debug/pg_crc.o'
4305: warning: overriding commands for target `Debug/pg_crc.o.d'
1470: warning: ignoring old commands for target `Debug/pg_crc.o.d'
5023: warning: overriding commands for target `Debug/keywords.o'
1649: warning: ignoring old commands for target `Debug/keywords.o'
5026: warning: overriding commands for target `Debug/keywords.o.d'
1652: warning: ignoring old commands for target `Debug/keywords.o.d'
5079: warning: overriding commands for target `Debug/kwlookup.o'
1691: warning: ignoring old commands for target `Debug/kwlookup.o'
5082: warning: overriding commands for target `Debug/kwlookup.o.d'
1694: warning: ignoring old commands for target `Debug/kwlookup.o.d'
5093: warning: overriding commands for target `Debug/analyze.o'
2615: warning: ignoring old commands for target `Debug/analyze.o'
5096: warning: overriding commands for target `Debug/analyze.o.d'
2618: warning: ignoring old commands for target `Debug/analyze.o.d'
5618: warning: overriding commands for target `Debug/pgstrcasecmp.o'
1061: warning: ignoring old commands for target `Debug/pgstrcasecmp.o'
5621: warning: overriding commands for target `Debug/pgstrcasecmp.o.d'
1064: warning: ignoring old commands for target `Debug/pgstrcasecmp.o.d'
5625: warning: overriding commands for target `Debug/wchar.o'
4134: warning: ignoring old commands for target `Debug/wchar.o'
5628: warning: overriding commands for target `Debug/wchar.o.d'
4137: warning: ignoring old commands for target `Debug/wchar.o.d'
5632: warning: overriding commands for target `Debug/md5.o'
2286: warning: ignoring old commands for target `Debug/md5.o'
5635: warning: overriding commands for target `Debug/md5.o.d'
2289: warning: ignoring old commands for target `Debug/md5.o.d'
5646: warning: overriding commands for target `Debug/thread.o'
1110: warning: ignoring old commands for target `Debug/thread.o'
5649: warning: overriding commands for target `Debug/thread.o.d'
1113: warning: ignoring old commands for target `Debug/thread.o.d'
5674: warning: overriding commands for target `Debug/win32.o'
1901: warning: ignoring old commands for target `Debug/win32.o'
5677: warning: overriding commands for target `Debug/win32.o.d'
1904: warning: ignoring old commands for target `Debug/win32.o.d'
5688: warning: overriding commands for target `Debug/encnames.o'
4162: warning: ignoring old commands for target `Debug/encnames.o'
5691: warning: overriding commands for target `Debug/encnames.o.d'
4165: warning: ignoring old commands for target `Debug/encnames.o.d'
5702: warning: overriding commands for target `Debug/ip.o'
2321: warning: ignoring old commands for target `Debug/ip.o'
5705: warning: overriding commands for target `Debug/ip.o.d'
2324: warning: ignoring old commands for target `Debug/ip.o.d'
5709: warning: overriding commands for target `Debug/strlcpy.o'
1187: warning: ignoring old commands for target `Debug/strlcpy.o'
5712: warning: overriding commands for target `Debug/strlcpy.o.d'
1190: warning: ignoring old commands for target `Debug/strlcpy.o.d'
5716: warning: overriding commands for target `Debug/pqsignal.o'
2328: warning: ignoring old commands for target `Debug/pqsignal.o'
5719: warning: overriding commands for target `Debug/pqsignal.o.d'
2331: warning: ignoring old commands for target `Debug/pqsignal.o.d'
5730: warning: overriding commands for target `Debug/noblock.o'
1229: warning: ignoring old commands for target `Debug/noblock.o'
5733: warning: overriding commands for target `Debug/noblock.o.d'
1232: warning: ignoring old commands for target `Debug/noblock.o.d'
5758: warning: overriding commands for target `Debug/pgstrcasecmp.o'
5618: warning: ignoring old commands for target `Debug/pgstrcasecmp.o'
5761: warning: overriding commands for target `Debug/pgstrcasecmp.o.d'
5621: warning: ignoring old commands for target `Debug/pgstrcasecmp.o.d'
5765: warning: overriding commands for target `Debug/thread.o'
5646: warning: ignoring old commands for target `Debug/thread.o'
5768: warning: overriding commands for target `Debug/thread.o.d'
5649: warning: ignoring old commands for target `Debug/thread.o.d'
5793: warning: overriding commands for target `Debug/misc.o'
4722: warning: ignoring old commands for target `Debug/misc.o'
5796: warning: overriding commands for target `Debug/misc.o.d'
4725: warning: ignoring old commands for target `Debug/misc.o.d'
5800: warning: overriding commands for target `Debug/prepare.o'
2601: warning: ignoring old commands for target `Debug/prepare.o'
5803: warning: overriding commands for target `Debug/prepare.o.d'
2604: warning: ignoring old commands for target `Debug/prepare.o.d'
5807: warning: overriding commands for target `Debug/strlcpy.o'
5709: warning: ignoring old commands for target `Debug/strlcpy.o'
5810: warning: overriding commands for target `Debug/strlcpy.o.d'
5712: warning: ignoring old commands for target `Debug/strlcpy.o.d'
5828: warning: overriding commands for target `Debug/path.o'
1292: warning: ignoring old commands for target `Debug/path.o'
5831: warning: overriding commands for target `Debug/path.o.d'
1295: warning: ignoring old commands for target `Debug/path.o.d'
5856: warning: overriding commands for target `Debug/keywords.o'
5023: warning: ignoring old commands for target `Debug/keywords.o'
5859: warning: overriding commands for target `Debug/keywords.o.d'
5026: warning: ignoring old commands for target `Debug/keywords.o.d'
5877: warning: overriding commands for target `Debug/variable.o'
2559: warning: ignoring old commands for target `Debug/variable.o'
5880: warning: overriding commands for target `Debug/variable.o.d'
2562: warning: ignoring old commands for target `Debug/variable.o.d'
5884: warning: overriding commands for target `Debug/descriptor.o'
5814: warning: ignoring old commands for target `Debug/descriptor.o'
5887: warning: overriding commands for target `Debug/descriptor.o.d'
5817: warning: ignoring old commands for target `Debug/descriptor.o.d'
5891: warning: overriding commands for target `Debug/kwlookup.o'
5079: warning: ignoring old commands for target `Debug/kwlookup.o'
5894: warning: overriding commands for target `Debug/kwlookup.o.d'
5082: warning: ignoring old commands for target `Debug/kwlookup.o.d'
5912: warning: overriding commands for target `Debug/parser.o'
5100: warning: ignoring old commands for target `Debug/parser.o'
5915: warning: overriding commands for target `Debug/parser.o.d'
5103: warning: ignoring old commands for target `Debug/parser.o.d'
6276: warning: overriding commands for target `Debug/datetime.o'
4456: warning: ignoring old commands for target `Debug/datetime.o'
6279: warning: overriding commands for target `Debug/datetime.o.d'
4459: warning: ignoring old commands for target `Debug/datetime.o.d'
6283: warning: overriding commands for target `Debug/pgstrcasecmp.o'
5758: warning: ignoring old commands for target `Debug/pgstrcasecmp.o'
6286: warning: overriding commands for target `Debug/pgstrcasecmp.o.d'
5761: warning: ignoring old commands for target `Debug/pgstrcasecmp.o.d'
6290: warning: overriding commands for target `Debug/common.o'
1635: warning: ignoring old commands for target `Debug/common.o'
6293: warning: overriding commands for target `Debug/common.o.d'
1638: warning: ignoring old commands for target `Debug/common.o.d'
6297: warning: overriding commands for target `Debug/numeric.o'
4757: warning: ignoring old commands for target `Debug/numeric.o'
6300: warning: overriding commands for target `Debug/numeric.o.d'
4760: warning: ignoring old commands for target `Debug/numeric.o.d'
6318: warning: overriding commands for target `Debug/timestamp.o'
4848: warning: ignoring old commands for target `Debug/timestamp.o'
6321: warning: overriding commands for target `Debug/timestamp.o.d'
4851: warning: ignoring old commands for target `Debug/timestamp.o.d'
6486: warning: overriding commands for target `Debug/pg_crc.o'
4302: warning: ignoring old commands for target `Debug/pg_crc.o'
6489: warning: overriding commands for target `Debug/pg_crc.o.d'
4305: warning: ignoring old commands for target `Debug/pg_crc.o.d'
6493: warning: overriding commands for target `Debug/keywords.o'
5856: warning: ignoring old commands for target `Debug/keywords.o'
6496: warning: overriding commands for target `Debug/keywords.o.d'
5859: warning: ignoring old commands for target `Debug/keywords.o.d'
6500: warning: overriding commands for target `Debug/dumputils.o'
1677: warning: ignoring old commands for target `Debug/dumputils.o'
6503: warning: overriding commands for target `Debug/dumputils.o.d'
1680: warning: ignoring old commands for target `Debug/dumputils.o.d'
6507: warning: overriding commands for target `Debug/kwlookup.o'
5891: warning: ignoring old commands for target `Debug/kwlookup.o'
6510: warning: overriding commands for target `Debug/kwlookup.o.d'
5894: warning: ignoring old commands for target `Debug/kwlookup.o.d'
6514: warning: overriding commands for target `Debug/encnames.o'
5688: warning: ignoring old commands for target `Debug/encnames.o'
6517: warning: overriding commands for target `Debug/encnames.o.d'
5691: warning: ignoring old commands for target `Debug/encnames.o.d'
6521: warning: overriding commands for target `Debug/pqsignal.o'
5716: warning: ignoring old commands for target `Debug/pqsignal.o'
6524: warning: overriding commands for target `Debug/pqsignal.o.d'
5719: warning: ignoring old commands for target `Debug/pqsignal.o.d'
6528: warning: overriding commands for target `Debug/pg_crc.o'
6486: warning: ignoring old commands for target `Debug/pg_crc.o'
6531: warning: overriding commands for target `Debug/pg_crc.o.d'
6489: warning: ignoring old commands for target `Debug/pg_crc.o.d'
6535: warning: overriding commands for target `Debug/kwlookup.o'
6507: warning: ignoring old commands for target `Debug/kwlookup.o'
6538: warning: overriding commands for target `Debug/kwlookup.o.d'
6510: warning: ignoring old commands for target `Debug/kwlookup.o.d'
6542: warning: overriding commands for target `Debug/print.o'
3560: warning: ignoring old commands for target `Debug/print.o'
6545: warning: overriding commands for target `Debug/print.o.d'
3563: warning: ignoring old commands for target `Debug/print.o.d'
6549: warning: overriding commands for target `Debug/keywords.o'
6493: warning: ignoring old commands for target `Debug/keywords.o'
6552: warning: overriding commands for target `Debug/keywords.o.d'
6496: warning: ignoring old commands for target `Debug/keywords.o.d'
6556: warning: overriding commands for target `Debug/mbprint.o'
1663: warning: ignoring old commands for target `Debug/mbprint.o'
6559: warning: overriding commands for target `Debug/mbprint.o.d'
1666: warning: ignoring old commands for target `Debug/mbprint.o.d'
6563: warning: overriding commands for target `Debug/dumputils.o'
6500: warning: ignoring old commands for target `Debug/dumputils.o'
6566: warning: overriding commands for target `Debug/dumputils.o.d'
6503: warning: ignoring old commands for target `Debug/dumputils.o.d'
6570: warning: overriding commands for target `Debug/kwlookup.o'
6535: warning: ignoring old commands for target `Debug/kwlookup.o'
6573: warning: overriding commands for target `Debug/kwlookup.o.d'
6538: warning: ignoring old commands for target `Debug/kwlookup.o.d'
6577: warning: overriding commands for target `Debug/pg_sema.o'
1978: warning: ignoring old commands for target `Debug/pg_sema.o'
6580: warning: overriding commands for target `Debug/pg_sema.o.d'
1981: warning: ignoring old commands for target `Debug/pg_sema.o.d'
6584: warning: overriding commands for target `Debug/pg_shmem.o'
1992: warning: ignoring old commands for target `Debug/pg_shmem.o'
6587: warning: overriding commands for target `Debug/pg_shmem.o.d'
1995: warning: ignoring old commands for target `Debug/pg_shmem.o.d'
6591: warning: overriding commands for target `Debug/dynloader.o'
1999: warning: ignoring old commands for target `Debug/dynloader.o'
6594: warning: overriding commands for target `Debug/dynloader.o.d'
2002: warning: ignoring old commands for target `Debug/dynloader.o.d'
6598: warning: overriding commands for target `Debug/fmgrtab.o'
4953: warning: ignoring old commands for target `Debug/fmgrtab.o'
6601: warning: overriding commands for target `Debug/fmgrtab.o.d'
4956: warning: ignoring old commands for target `Debug/fmgrtab.o.d'
6605: warning: overriding commands for target `Debug/pgstrcasecmp.o'
6283: warning: ignoring old commands for target `Debug/pgstrcasecmp.o'
6608: warning: overriding commands for target `Debug/pgstrcasecmp.o.d'
6286: warning: ignoring old commands for target `Debug/pgstrcasecmp.o.d'
6612: warning: overriding commands for target `Debug/wchar.o'
5625: warning: ignoring old commands for target `Debug/wchar.o'
6615: warning: overriding commands for target `Debug/wchar.o.d'
5628: warning: ignoring old commands for target `Debug/wchar.o.d'
6619: warning: overriding commands for target `Debug/md5.o'
5632: warning: ignoring old commands for target `Debug/md5.o'
6622: warning: overriding commands for target `Debug/md5.o.d'
5635: warning: ignoring old commands for target `Debug/md5.o.d'
6626: warning: overriding commands for target `Debug/thread.o'
5765: warning: ignoring old commands for target `Debug/thread.o'
6629: warning: overriding commands for target `Debug/thread.o.d'
5768: warning: ignoring old commands for target `Debug/thread.o.d'
6633: warning: overriding commands for target `Debug/encnames.o'
6514: warning: ignoring old commands for target `Debug/encnames.o'
6636: warning: overriding commands for target `Debug/encnames.o.d'
6517: warning: ignoring old commands for target `Debug/encnames.o.d'
6640: warning: overriding commands for target `Debug/ip.o'
5702: warning: ignoring old commands for target `Debug/ip.o'
6643: warning: overriding commands for target `Debug/ip.o.d'
5705: warning: ignoring old commands for target `Debug/ip.o.d'
6647: warning: overriding commands for target `Debug/strlcpy.o'
5807: warning: ignoring old commands for target `Debug/strlcpy.o'
6650: warning: overriding commands for target `Debug/strlcpy.o.d'
5810: warning: ignoring old commands for target `Debug/strlcpy.o.d'
6654: warning: overriding commands for target `Debug/noblock.o'
5730: warning: ignoring old commands for target `Debug/noblock.o'
6657: warning: overriding commands for target `Debug/noblock.o.d'
5733: warning: ignoring old commands for target `Debug/noblock.o.d'
6661: warning: overriding commands for target `Debug/pgstrcasecmp.o'
6605: warning: ignoring old commands for target `Debug/pgstrcasecmp.o'
6664: warning: overriding commands for target `Debug/pgstrcasecmp.o.d'
6608: warning: ignoring old commands for target `Debug/pgstrcasecmp.o.d'
6668: warning: overriding commands for target `Debug/thread.o'
6626: warning: ignoring old commands for target `Debug/thread.o'
6671: warning: overriding commands for target `Debug/thread.o.d'
6629: warning: ignoring old commands for target `Debug/thread.o.d'
6675: warning: overriding commands for target `Debug/strlcpy.o'
6647: warning: ignoring old commands for target `Debug/strlcpy.o'
6678: warning: overriding commands for target `Debug/strlcpy.o.d'
6650: warning: ignoring old commands for target `Debug/strlcpy.o.d'
6682: warning: overriding commands for target `Debug/path.o'
5828: warning: ignoring old commands for target `Debug/path.o'
6685: warning: overriding commands for target `Debug/path.o.d'
5831: warning: ignoring old commands for target `Debug/path.o.d'
6689: warning: overriding commands for target `Debug/kwlookup.o'
6570: warning: ignoring old commands for target `Debug/kwlookup.o'
6692: warning: overriding commands for target `Debug/kwlookup.o.d'
6573: warning: ignoring old commands for target `Debug/kwlookup.o.d'
6696: warning: overriding commands for target `Debug/pgstrcasecmp.o'
6661: warning: ignoring old commands for target `Debug/pgstrcasecmp.o'
6699: warning: overriding commands for target `Debug/pgstrcasecmp.o.d'
6664: warning: ignoring old commands for target `Debug/pgstrcasecmp.o.d'
/home/manolo/Downloads/postgresql-8.4.2/contrib/pgcrypto/pgp-s2k.c
32:22: error: postgres.h: No such file or directory
/home/manolo/Downloads/postgresql-8.4.2/contrib/pgcrypto/pgp-info.c
31:22: error: postgres.h: No such file or directory
----------Build Ended----------

Re: Building using existing "configure" and "makefile"

Posted: Tue Jan 19, 2010 1:58 pm
by eranif

Re: Building using existing "configure" and "makefile"

Posted: Tue Jan 19, 2010 2:09 pm
by dahack
Hi Eran.

Thanks for your reply and sorry for not having seen that page before.
I am following those instructions and I don't know how to fill the "build" field. In other words, where to place the "make" and "make install" commands?

Thanks for your time.
Regards.

Re: Building using existing "configure" and "makefile"

Posted: Tue Jan 19, 2010 2:33 pm
by eranif
Image

open the project settings dialog, select the 'Custom Build' tab and double click on the 'Build' entry in the list.

A new dialog will open for you: simply type 'make'
If you want to add new 'make install' click on the 'New' button

Eran

Re: Building using existing "configure" and "makefile"

Posted: Thu Jan 21, 2010 9:33 pm
by dahack
Thanks for your instructions: they where correct since from the start but they didn't worked for me because I choose the wrong "working directory".
Now everything takes much more sense.

The current problems for me are:
1) I am unable to run the configure command
2) I am unable to execute the "Install" command

As for point 1) I have been following the instructions for executing a particular "configure command". Actually I must run:
./configure --enable-debug --enable-depend --enable-cassert CFLAGS="-O0"

and this command does work when running it from terminal. When I execute it with "Run other" I get
----------Build Started--------
./configure --enable-debug --enable-depend --enable-cassert CFLAGS="-O0"
execvp(./configure, --enable-debug, --enable-depend, --enable-cassert, CFLAGS="-O0") failed with error 2!
----------Build Ended----------
0 errors, 0 warnings

which says there's an "error 2" written on the third line and then it ends with that " 0 errors, 0 warnings" written on the fifth line.

As for point 2) I cannot execute the "Install" command as I have defined into the "Custom Build" section. When I run it from "Custom Build Target" I get the following error:

----------Build Started--------
"make" -j 2 -f "pgsql_manolo.mk"
----------Building project:[ pgsql_manolo - Debug ]----------
sudo: no tty present and no askpass program specified
make: *** [all] Error 1
----------Build Ended----------
0 errors, 0 warnings

Here there are some screenshots. any suggestion, please?
Thanks for your time.

Image

Image

Re: Building using existing "configure" and "makefile"

Posted: Thu Jan 21, 2010 10:08 pm
by eranif
dahack wrote:As for point 1) I have been following the instructions for executing a particular "configure command". Actually I must run:
./configure --enable-debug --enable-depend --enable-cassert CFLAGS="-O0"

and this command does work when running it from terminal. When I execute it with "Run other" I get
----------Build Started--------
./configure --enable-debug --enable-depend --enable-cassert CFLAGS="-O0"
execvp(./configure, --enable-debug, --enable-depend, --enable-cassert, CFLAGS="-O0") failed with error 2!
----------Build Ended----------
0 errors, 0 warnings
You are running a very old version of codelite. Please upgrade to a newer version of codelite - it will work there.
dahack wrote:----------Build Started--------
"make" -j 2 -f "pgsql_manolo.mk"
----------Building project:[ pgsql_manolo - Debug ]----------
sudo: no tty present and no askpass program specified
make: *** [all] Error 1
----------Build Ended----------
0 errors, 0 warnings
This is because you probably need a tty to use 'sudo' and codelite cant handle that properly. If you really need to install something you could:
- Run it from the command line
- Run codelite under 'sudo' :

Code: Select all

sudo codelite &
To upgrade codelite, you will need to download codelite from SF.net since the maintainer of codelite @ubuntu did not package codelite 2.1.x yet (you are still using codlite v1.X)

Eran