You are not logged in.

#1 2006-07-17 20:58:58

insane
Member
Registered: 2006-06-04
Posts: 106

error building ncurses app+ kdevelop + c++. Very new at this

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

#2 2006-07-18 00:22:52

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

Re: error building ncurses app+ kdevelop + c++. Very new at this

have you tried building your project outside of kdevelop? you will probably need something like g++ -lncurses bleh.cpp -o bleh

Offline

#3 2006-07-18 19:16:09

insane
Member
Registered: 2006-06-04
Posts: 106

Re: error building ncurses app+ kdevelop + c++. Very new at this

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

#4 2006-07-18 20:51:47

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

Re: error building ncurses app+ kdevelop + c++. Very new at this

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

Board footer

Powered by FluxBB