Bug#27346: Makefiles get compromised through the KDevelop Build | Autoconf and automake menu option

van at dedserius.com van at dedserius.com
Sun Jun 17 07:16:13 UTC 2001


Package: kdevelop
Version: 1.4.1 (using KDE 2.1.2 )
Severity: normal
Installed from:    compiled sources
Compiler:          gcc version 2.95.3 20010315 (release)
OS:                Linux 2.4.3 i686
OS/Compiler notes: 

I've spent the past month working on a console application.

I have 3 .c files and 2.h files, and, the primary .c file is main.c  

I've created:  AUTHORS  COPYING  ChangeLog  INSTALL  NEWS  README  TODO

I develop my applications in /home/username/src/application-name/

I create the application-name/application-name.kdevprj file with the C wizard item, and, it gives me a default Hello World application as main.c.

I Add existing file(s) and replace main.c and add my other 2 .c files and their respective .h files, and, add the following to ~/src/application-name/Makefile.am and ~/src/application-name/application-name/Makefile.am:
INCLUDES= $(all_includes) -I/usr/local/include/mysql
LIBS = -L/usr/local/lib/mysql -lmysqlclient -lm # -lncurses -lsocket -lnsl

I do a Build | Autoconf and automake.
I do a Build | Configure.
I do a Build | Make and get:
sql_functions.c:28: mysql.h: No such file or directory
make[2]: *** [sql_functions.o] Error 1
make[2]: Leaving directory `/home/vanboers/src/btimeshell/btimeshell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vanboers/src/btimeshell'
make: Leaving directory `/home/vanboers/src/btimeshell'
make: *** [all-recursive-am] Error 2

I appreciate your efforts, dudes, but, I'm heading back to vi and a directory that doesn't replace my directories using a very basic autoconf, automake, ./configure approach to finishing my application.

I have serius issues with KDevelop not giving me transparent ways to add include and lib paths to my makefiles and it can't be used for useful development if these types of process replace what I see in the IDE.

I just don't have the same level of confidence that when I change something in KDevelop, it won't be changed by the slave process that I have when I'm using vi.

vi main.c -R always gets me back to where I need to go.

Back to the konsole I go.

Regards,
Van

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)


-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list