LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-23-2009, 01:48 PM   #1
ACiD GRiM
LQ Newbie
 
Registered: Mar 2009
Posts: 17

Rep: Reputation: 0
Help with autoconf: undefined macro errors


I'm trying to compile fuppes, but I keep getting a string of errors when I tried to compile SVN 630-640.

Code:
lib/SharedConfig.cpp:41:24: error: ../version.h: No such file or directory
lib/SharedConfig.cpp:150:3: warning: #warning todo: system checks (e.g. XP firewall)
lib/SharedConfig.cpp:605:2: warning: #warning todo
lib/SharedConfig.cpp: In member function ‘std::string CSharedConfig::GetAppVersion()’:
lib/SharedConfig.cpp:240: error: ‘FUPPES_VERSION’ was not declared in this scope
make[2]: *** [SharedConfig.lo] Error 1
make[2]: Leaving directory `/root/fuppes-0.640/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/fuppes-0.640/src'
make: *** [all-recursive] Error 1
but if I do autoreconf -vfi, like this page suggests I get this

Code:
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
configure.ac:100: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but is not m4_defun'd
configure.ac:100: AC_LIB_PREPARE_PREFIX is required by...
m4/iconv.m4:18: AM_ICONV_LINKFLAGS_BODY is expanded from...
configure.ac:100: AM_ICONV_LINKFLAGS_BODY is required by...
m4/iconv.m4:152: AM_ICONV_LINK is expanded from...
m4/iconv.m4:180: AM_ICONV is expanded from...
configure.ac:100: the top level
configure.ac:100: warning: AC_LIB_RPATH is m4_require'd but is not m4_defun'd
configure.ac:100: AC_LIB_RPATH is required by...
autoreconf: configure.ac: tracing
configure.ac:100: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but is not m4_defun'd
configure.ac:100: AC_LIB_PREPARE_PREFIX is required by...
m4/iconv.m4:18: AM_ICONV_LINKFLAGS_BODY is expanded from...
configure.ac:100: AM_ICONV_LINKFLAGS_BODY is required by...
m4/iconv.m4:152: AM_ICONV_LINK is expanded from...
m4/iconv.m4:180: AM_ICONV is expanded from...
configure.ac:100: the top level
configure.ac:100: warning: AC_LIB_RPATH is m4_require'd but is not m4_defun'd
configure.ac:100: AC_LIB_RPATH is required by...
autoreconf: running: libtoolize --copy --force
You should update your `aclocal.m4' by running aclocal.
configure.ac:100: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but is not m4_defun'd
configure.ac:100: AC_LIB_PREPARE_PREFIX is required by...
m4/iconv.m4:18: AM_ICONV_LINKFLAGS_BODY is expanded from...
configure.ac:100: AM_ICONV_LINKFLAGS_BODY is required by...
m4/iconv.m4:152: AM_ICONV_LINK is expanded from...
m4/iconv.m4:180: AM_ICONV is expanded from...
configure.ac:100: the top level
configure.ac:100: warning: AC_LIB_RPATH is m4_require'd but is not m4_defun'd
configure.ac:100: AC_LIB_RPATH is required by...
autoreconf: running: /usr/bin/autoconf --force
configure.ac:100: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but is not m4_defun'd
configure.ac:100: AC_LIB_PREPARE_PREFIX is required by...
m4/iconv.m4:18: AM_ICONV_LINKFLAGS_BODY is expanded from...
configure.ac:100: AM_ICONV_LINKFLAGS_BODY is required by...
m4/iconv.m4:152: AM_ICONV_LINK is expanded from...
m4/iconv.m4:180: AM_ICONV is expanded from...
configure.ac:100: the top level
configure.ac:100: warning: AC_LIB_RPATH is m4_require'd but is not m4_defun'd
configure.ac:100: AC_LIB_RPATH is required by...
configure:20866: error: possibly undefined macro: AC_LIB_PREPARE_PREFIX
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:20867: error: possibly undefined macro: AC_LIB_RPATH
configure:20872: error: possibly undefined macro: AC_LIB_LINKFLAGS_BODY
configure:20880: error: possibly undefined macro: AC_LIB_APPENDTOVAR
autoreconf: /usr/bin/autoconf failed with exit status: 1
And the second line says it isn't using gettext, but i DO have gettext...

Thanks for any replies
 
Old 07-23-2009, 06:08 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
'fuppes-0.640'
http://sourceforge.net/projects/fupp...ar.gz/download
> > fuppes-0.640.tar.gz
And no need to run 'autoreconf' , it's only for files downloaded
with 'svn' : no 'configure' script is included.

I guess, you will have to delete fuppes-0.640/
and start from scratch and do :
./configure && make , # make install
.....
 
Old 07-24-2009, 07:12 PM   #3
ACiD GRiM
LQ Newbie
 
Registered: Mar 2009
Posts: 17

Original Poster
Rep: Reputation: 0
I've redownloaded the 640 tar, but "./configure; make" still ends with

Code:
lib/SharedConfig.cpp:41:24: error: ../version.h: No such file or directory
lib/SharedConfig.cpp:150:3: warning: #warning todo: system checks (e.g. XP firewall)
lib/SharedConfig.cpp:605:2: warning: #warning todo
lib/SharedConfig.cpp: In member function ‘std::string CSharedConfig::GetAppVersion()’:
lib/SharedConfig.cpp:240: error: ‘FUPPES_VERSION’ was not declared in this scope
make[2]: *** [SharedConfig.lo] Error 1
make[2]: Leaving directory `/root/fuppes-0.640/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/fuppes-0.640/src'
make: *** [all-recursive] Error 1
 
Old 07-25-2009, 04:26 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Well, I guessed from your other posts,
that you were using Fedora 10.
Is 'libtool' installed ? # yum install libtool .
'fuppes' has an internal libtool, which can have
a bug.

Version 640 makes no errors on a clean install of Fedora 10.
( Other versions of fuppes requires editing of some files,
before you can compile it. May be the the same for this one,
if the OS is different, or some unstable updates are used.)

So which OS are you using ? ?
Must be told every time, a question is asked.

http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
.....
 
Old 07-25-2009, 11:12 PM   #5
ACiD GRiM
LQ Newbie
 
Registered: Mar 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Sorry, I had it in my signature at one point but I must have cleared it accidentely.

I'm actually using Centos 5.3 and libtool was installed. I can't really try compiling on my Fedora client, because it's 64bit.
 
Old 07-26-2009, 05:25 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
CentOS 5.x., 'rpm -qa | grep autoconf' :
autoconf213-2.13-12.1 , autoconf-2.63-1.fc10
wget http://download.fedora.redhat.com/pu...c10.noarch.rpm
> > autoconf-2.63-1.fc10.noarch.rpm

I installed the Fedora 10 version last year, probably
for good reasons. It's just some scripts and will fit
in nicely, and has worked with everything compiled
since then. Also fuppes-640.
.....
Good luck !
.....

Last edited by knudfl; 07-26-2009 at 08:31 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
*** YOU'RE USING autoconf (GNU Autoconf) 2.60. KDE requires autoconf 2.52, 2.53 or 2. arubin Slackware 6 09-24-2008 03:31 AM
Where is my autoconf macro directory? Penguin of Wonder Programming 3 10-31-2007 07:20 AM
undefined symbol errors ??? gkiagia Linux - Software 0 06-22-2005 02:00 PM
linking problems - 'undefined reference' errors back2morrie Programming 1 06-14-2005 08:02 AM
Undefined Reference errors during make. sheenak Programming 5 05-14-2004 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration