SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I'm new to Linux and i am having trouble compiling the Gfire plugin for Gaim and I don't know where I am going wrong.
Gfire is available from https://sourceforge.net/project/show...kage_id=155388
This is the process I used
Quote:
th3wraith@linux-w127:~> tar -xpf /home/th3wraith/Desktop/gaim-xfire-0.6.0.tar.gz
th3wraith@linux-w127:~> cd /home/th3wraith/Desktop/gaim-xfire-0.6.0
th3wraith@linux-w127:~/Desktop/gaim-xfire-0.6.0> sudo ./configure --with-gaim=/usr/lib/pkgconfig/ --prefix=/urs && make && make install
this is what i got next
Quote:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for sed... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SSL... yes
checking for GAIM... configure: error: Package requirements (gaim) were not met:
No package 'gaim' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GAIM_CFLAGS
and GAIM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
The thing is though I have Gaim 2.0.0 beta installed, and Gfire is supposed to be compatible with the 2.0.0 beta.
Could someone please help me figure out how to compile and install Gfire on SUSE 10.2.
Not a pro here, but shouldn't --with-gaim point the directory where GAIM's files (lib files? or what?) are installed? /usr/lib/pkgconfig sounds a bit odd to me. Well, I'm not a SuSE user though so I might be wrong. I hope you read already the README and/or INSTALL files from within the downloaded package before proceeding?
Other thoughts:
- I wouldn't run all that configure, make, make install in one command. The first two steps don't need root privileges and I usually run all the three one-by-one, first configure (and if it succeeds,) then make as a regular user, then if they succeed, make install as root. It's easier and more clear.
- GAIM is not GAIM anymore, it's called PIDGIN nowadays. Check their site pidgin.im for an explanation.
- The trouble just seems to be the GAIM files aren't found from any regular location (like under /usr for example), and they were not found from where you pointed them using --with-gaim=. Read the config file trough, and README and INSTALL files, they probably have a lot of information.
Not a pro here, but shouldn't --with-gaim point the directory where GAIM's files (lib files? or what?) are installed? /usr/lib/pkgconfig sounds a bit odd to me. Well, I'm not a SuSE user though so I might be wrong. I hope you read already the README and/or INSTALL files from within the downloaded package before proceeding?
Other thoughts:
- I wouldn't run all that configure, make, make install in one command. The first two steps don't need root privileges and I usually run all the three one-by-one, first configure (and if it succeeds,) then make as a regular user, then if they succeed, make install as root. It's easier and more clear.
- GAIM is not GAIM anymore, it's called PIDGIN nowadays. Check their site pidgin.im for an explanation.
- The trouble just seems to be the GAIM files aren't found from any regular location (like under /usr for example), and they were not found from where you pointed them using --with-gaim=. Read the config file trough, and README and INSTALL files, they probably have a lot of information.
The problem is that the readme and install docs are very hard to understand because it is very cryptic and not very easy for a new guy like me who does not know where the folders are to understand. That is a critical flaw for new guys like me. I will try what you said though, thanks for the help, I appreciate it greatly.
Alright I tried to recompile it and I'm still getting errors, I could use a little help with this, I don't know what is wrong with this compile, hopefully someone here will.
Quote:
th3wraith@linux-w127:~/Desktop/gaim-xfire-0.6.0> ./configure --prefix=/opt/gnome
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking for sed... /usr/bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SSL... yes
checking for GAIM... yes
checking for GAIM version... 2.0.x
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.12.4)
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
./configure: line 5654: ./po/POTFILES.in: No such file or directory
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating pixmaps/Makefile
config.status: creating pre_config.h
config.status: pre_config.h is unchanged
config.status: executing default-1 commands
config.status: executing default-2 commands
Configuration complete
Debugging enabled..............: no
Using gaim version.............: 2.0
Gaim package prefix............: /opt/gnome
Gaim package libdir............: /opt/gnome/lib
Install prefix.................: /opt/gnome
Install libdir.................: /opt/gnome/lib
Gaim lib dir detected..........: Yes
Type make to compile
Make sure you copy data/gfire_games.xml to /home/th3wraith/.gaim/
Quote:
th3wraith@linux-w127:~/Desktop/gaim-xfire-0.6.0> make
make all-recursive
make[1]: Entering directory `/home/th3wraith/Desktop/gaim-xfire-0.6.0'
Making all in src
make[2]: Entering directory `/home/th3wraith/Desktop/gaim-xfire-0.6.0/src'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR=\"/opt/gnome/lib/gaim/\" -DDATADIR=\"/opt/gnome/share\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/gaim -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -g3 -c gfire.c
gfire.c: In function 'gfire_login':
gfire.c:353: warning: passing argument 2 of 'gaim_proxy_connect' from incompatible pointer type
gfire.c:353: warning: passing argument 3 of 'gaim_proxy_connect' makes pointer from integer without a cast
gfire.c:353: warning: passing argument 4 of 'gaim_proxy_connect' makes integer from pointer without a cast
gfire.c:353: warning: passing argument 5 of 'gaim_proxy_connect' from incompatible pointer type
gfire.c:353: error: too few arguments to function 'gaim_proxy_connect'
make[2]: *** [gfire.lo] Error 1
make[2]: Leaving directory `/home/th3wraith/Desktop/gaim-xfire-0.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/th3wraith/Desktop/gaim-xfire-0.6.0'
make: *** [all-recursive-am] Error 2
th3wraith@linux-w127:~/Desktop/gaim-xfire-0.6.0>
Could someone please help me fix this, I have no idea what is going wrong.
I'm having the same problem. The plugin compiled fine with Edgy, but I can't seem to get it to work with Feisty. Anyone have any ideas? I wonder if there was some sort glib or gaim update, since it doesn't work on two different distros.
Try compiling one of the snapshots from here: http://gfire.sourceforge.net/snapshots/
I did the first one and it worked(didn't realize the fix for beta6 was farther down the list, but the first one worked either way.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.