LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Gaim 5.9-1 on Slack - Compiling error (https://www.linuxquestions.org/questions/linux-software-2/gaim-5-9-1-on-slack-compiling-error-28946/)

wickdgin 08-27-2002 10:46 PM

Gaim 5.9-1 on Slack - Compiling error
 
Just downloaded the latest version of Gaim onto my Slack 8.1 system. I get the following compiler error:

Quote:

gmake[2]: Entering directory `/home/shannon/Packages/extracted/gaim-0.59.1/sounds'
/bin/sh ../libtool --silent --mode=link gcc -g -O2 -I/usr/local/include -I/opt/include -I.. -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o au2h au2h.o -lnsl
../libtool: s%^.*/%%: No such file or directory
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
./au2h BuddyArrive.au BuddyArrive.h
gmake[2]: ./au2h: Command not found
gmake[2]: *** [BuddyArrive.h] Error 127
gmake[2]: Leaving directory `/home/shannon/Packages/extracted/gaim-0.59.1/sounds'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/shannon/Packages/extracted/gaim-0.59.1'
gmake: *** [all] Error 2
Just wanted to know if it's just me :( , or if anyone figured out a way to get it to compile.

MasterC 08-28-2002 05:00 AM

Try it as root

wickdgin 08-28-2002 08:49 AM

Quote:

Originally posted by MasterC
Try it as root
One of the first things I tried :(

MasterC 08-28-2002 10:11 AM

Hmmm....
It would maybe appear you don't have libtool installed. I checked to see if I do, and, yup, I do. I added the help file just for fun :D

But I would check that also, make sure it's installed, and if so you might have to provide the location when running the configure script. ./configure -help might provide a clue.

Good luck

Quote:

sage: libtool [OPTION]... [MODE-ARG]...

Provide generalized library-building support services.

--config show all configuration variables
--debug enable verbose shell tracing
-n, --dry-run display commands without modifying any files
--features display basic configuration information and exit
--finish same as `--mode=finish'
--help display this help message and exit
--mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
--quiet same as `--silent'
--silent don't print informational messages
--version print version information

MODE must be one of the following:

clean remove files from the build directory
compile compile a source file into a libtool object
execute automatically set library path, then run a program
finish complete the installation of libtool libraries
install install libraries or executables
link create a library or an executable
uninstall remove libraries from an installed directory

MODE-ARGS vary depending on the MODE. Try `libtool --help --mode=MODE' for
a more detailed description of MODE.

acid_kewpie 08-28-2002 11:02 AM

right well firstly this is certainly not a problem with not having libtool, as libtool clearly is running as you can see from the error message, for example:

Code:

[chris@trevor chris]$ ilovechips
bash: ilovechips: command not found

see, that's not bash failing, it's the wrong program name... it could be a problem within the libtool script in the pacakge, but i jsut tested it and it worked fine for me. you can see in the error message that it's a regex failing by all accoutns, which then screws up teh next line, tryingn to run "-e" as a program too... try just using make instead of gmake.. might help... after that try a slightly older version of the package, those guys release so often, there's so so little difference each version.

wickdgin 08-28-2002 10:19 PM

Alright, this is interesting:
-If I change into the root of the source directory (i.e /home/shannon/Packages/extracted/gaim-0.59.1/) and then issue ./libtool, the command is executed no problem, however if I change into the directory that gmake was in when it tries to execute libtool (i.e ./sounds) and execute libtool the same way it tries (i.e. ../libtool) then I get this error:

Quote:

../libtool: s%^.*/%%: No such file or directory
: warning: cannot infer operation mode without MODE-ARGS
: you must specify a MODE
Try ` --help' for more information.
Any Ideas? I guess I could go into make and change '../libtool' to '$Full_Path/libtool'.

Any what is up with the '-e', there is no -e option for libtool?

MasterC 08-29-2002 05:40 AM

Try to see if you can find something in the Makefile. Maybe it was a typo somewhere that you could fix (and then if you do, let GAIM know ;) )

I would do what Acid suggested though, go back and get one of the older releases, maybe the one released a month ago :D

Cool

wickdgin 08-29-2002 10:04 AM

Finallly Success!!!
 
I tried compiling 0.5.9 before I posted this thread, and it didn't compile nicely either, but it was a different error. I figured I'd just focus on getting the latest one to compile then.

I did notice however, that if I did the same thing with 0.59 libtool it worked, so I copied libtool included in 0.59 to 0.59-1 and it worked!!! :D

Thanks for everyones help


All times are GMT -5. The time now is 03:15 PM.