You are not logged in.
Hi everyone
I am trying to learn programming in c++. I have read a couple of books on the subject (c++) and now i believe is time to get my hands dirty with code. I wanted some interesting to get me motivated so i wanted to start a simple ncurses based project. The problem is that when i even try to run configure on the simple ncurses "hello world" program that comes with kdevelop, i get these lines:
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK
*** Exited with status: 2 ***
when i do pacman -Ss pilot-link i get
extra/pilot-link 0.11.8-4
A suite of tools for connecting to PalmOS handheld devices
and if i remember correct that package was a dependency for kdevelop.
My question is: why a palm sync tool is a dependency for kdevelop and why is it interferring with my ncurses program?
Edit: I switched to full compiler output and i can see a more detailed error message
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoheader
autoheader: error: AC_CONFIG_HEADERS not found in configure.in
make: *** [all] Error 1
*** Exited with status: 2 ***
Can someone please explain what the above means?
Offline
have you tried building your project outside of kdevelop? you will probably need something like g++ -lncurses bleh.cpp -o bleh
Offline
Yes I tried and it's working fine. But I am still courious for the error message from kdevelop. I understand now that the line about pilot-link is just a warning but what about the line below:
autoheader: error: AC_CONFIG_HEADERS not found in configure.in
what is trying to say?
Offline
i think kdevelop might generate a configure script and makefile, then using those it tries to build your app. So there is probably something wrong in the configure script. Never actually used kdevelop myself...
Offline