LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ATK compiling Errors (https://www.linuxquestions.org/questions/linux-software-2/atk-compiling-errors-143510/)

dhUmra 02-07-2004 09:13 PM

ATK compiling Errors
 
I'm trying to compile atk-1.5.3. I have pkgconfig-0.15.0 compiled and glib-2.3.2 compiled. I need ATK so I can compile GTK to install Gimp. Now, I got pkgconfig and glib installed without problems but I cannot get ATK. I have searched Google and tried everything I could find and I still cannot resolve this problem.

Quote:

checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.3.2, but GLIB (2.2.3)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp.gtk.org. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.
when I do a ./configure . My export list looks like this:

Quote:

declare -x ACLOCAL_PATH="/opt/gnome/share/aclocal"
declare -x COLORTERM=""
declare -x CPU="i686"
declare -x DISPLAY=":0.0"
declare -x GNOMEDIR="/opt/gnome"
declare -x GNOME_PATH=":/opt/gnome:/usr"
declare -x GTK2_RC_FILES="/etc/opt/gnome/gtk-2.0/gtkrc:/opt/gnome/share/themes/Geramik/gtk-2.0/gtkrc:/home/kyle/.gtkrc-2.0-keramik:/home/kyle/.kde/share/config/gtkrc"
declare -x GTK_RC_FILES="/etc/opt/gnome/gtk/gtkrc:/opt/gnome/share/themes/Geramik/gtk/gtkrc:/home/kyle/.gtkrc-keramik:/home/kyle/.kde/share/config/gtkrc"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTSIZE="1000"
declare -x HOME="/root"
declare -x HOST="linux"
declare -x HOSTNAME="linux"
declare -x HOSTTYPE="i386"
declare -x INFODIR="/usr/local/info:/usr/share/info:/usr/info"
declare -x INFOPATH="/usr/local/info:/usr/share/info:/usr/info"
declare -x INPUTRC="/etc/inputrc"
declare -x KDEHOME="/home/kyle/.kde"
declare -x KDE_FULL_SESSION="true"
declare -x KDE_MULTIHEAD="false"
declare -x KDM_AUTOLOGIN="kyle"
declare -x KONSOLE_DCOP="DCOPRef(konsole-10438,konsole)"
declare -x KONSOLE_DCOP_SESSION="DCOPRef(konsole-10438,session-3)"
declare -x LANG="en_US"
declare -x LD_HWCAP_MASK="0x20000000"
declare -x LD_LIBRARY_PATH="/usr/local/lib/pkgconfig/glib-2.0.pc"
declare -x LESS="-M -I"
declare -x LESSCLOSE="lessclose.sh %s %s"
declare -x LESSKEY="/etc/lesskey.bin"
declare -x LESSOPEN="lessopen.sh %s"
declare -x LESS_ADVANCED_PREPROCESSOR="no"
declare -x LOGNAME="kyle"
declare -x LS_COLORS="no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31 :ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz= 00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;3 1:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp= 01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01; 35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:* .dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=0 0;32:"
declare -x LS_OPTIONS="-a -N --color=tty -T 0"
declare -x MACHTYPE="i686-suse-linux"
declare -x MANPATH="/usr/local/man:/usr/share/man:/usr/X11R6/man:/opt/gnome/man"
declare -x MINICOM="-c on"
declare -x NNTPSERVER="news"
declare -x OLDPWD="/usr/local/bin"
declare -x OPENWINHOME="/usr/openwin"
declare -x OSTYPE="linux"
declare -x PAGER="less"
declare -x PATH="/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin"
declare -x PKG_CONFIG="/usr/local/bin/pkg-config"
declare -x PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/glib-2.0.pc"
declare -x PROFILEREAD="true"
declare -x PWD="/home/kyle/atk-1.5.3"
declare -x SESSION_MANAGER="local/linux:/tmp/.ICE-unix/2281"
declare -x SHELL="/bin/bash"
declare -x SHLVL="3"
declare -x STYLE="keramik"
declare -x TERM="xterm"
declare -x TEXINPUTS="::/home/kyle/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX:/home/kyle/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX"
declare -x USER="kyle"
declare -x USE_FAM=""
declare -x WINDOWMANAGER="/usr/X11R6/bin/kde"
declare -x XCURSOR_THEME="blueprint-cursor-theme"
declare -x XDM_MANAGED="/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd"
declare -x XKEYSYMDB="/usr/X11R6/lib/X11/XKeysymDB"
declare -x XMODIFIERS="@im=local"
declare -x XNLSPATH="/usr/X11R6/lib/X11/nls"
declare -x XSESSION_IS_UP="yes"
declare -x no_proxy="localhost"
I have no idea how to resolve this and I would really like Gimp. I would also really like GTK for other things :blink:

Thanks for any help you can give me.

Also: I have tried different variations of PKG_CONFIG_PATH and PKG_CONFIG.

jtshaw 02-07-2004 09:35 PM

It looks to me like the version of glibc you compiled is conflicting with the version that came with the Suse system (assuming you are using Suse since that is what your info says). Are you sure you can't isntall gimp and gtk with a package from suse?

dhUmra 02-07-2004 09:41 PM

Yes, I'm using SuSE. Well, when I tried to install Gimp it told me I needed ATK, glib, and pango. I tried to put glib in and it told me I needed GTK, I tried to put GTK in and it told me I needed pkgconfig. I got all those in and now I'm stuck on ATK and Pango because they both cannot find glib. I need them before Gimp will go in:(

dhUmra 02-08-2004 04:28 PM

OK. I got it ./configure 'd but now when I make I get errors.

Quote:

make all-recursive
make[1]: Entering directory '/home/kyle/atk-1.5.3'
Making all in atk
make[2]: Entering directory '/home/kyle/atk-1.5.3/atk'
glib-genmarshal --prefix=atk_marshal ./atkmarshal.list --header >> xgen-gmh \
&& (cmp -s xgen-gmh atkmarshal.h || cp xgen-gmh atkmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~
&& echo timestamp > stamp-atkmarshal.h
/bin/sh: line 1: glib-genmarshal: command not found
make[2]: *** [stamp-atkmarshal.h] Error 127
make[2]: Leaving directory '/home/kyle/atk-1.5.3/atk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/kyle/atk-1.5.3'
make: *** [all] Error 2
I think I already have libglib, so that most likely isn't the problem. I searched these forums for glib-genmarshal and didn't find anything. Also did a Google search that didn't return much information.

jtshaw 02-08-2004 04:32 PM

Hmm, "glib-genmarshal - C code marshaller generation utility for GLib closures". At least, that what the man page description tells me for it. I would think that would come with the glib package.

dhUmra 02-08-2004 05:30 PM

I read that same thing and I already had glib installed. Although, I tried to install pango and it told me it couldn't find /bin/glib-mkenus, I did a Google on that and found that it was also contained in glib. So, I looked at the files contained in glib and it was not one of them. It is actually contained in the devel rpm! UG! So I installed glib-devel and bam! didn't work :rolleyes: . I looked more closely at the files contained in the package and saw that genmarshal and all the other files I needed were in /opt/gnome/bin/ heheh silly me. I copied them into /bin/ and all works great.


All times are GMT -5. The time now is 12:59 AM.