LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-07-2004, 09:13 PM   #1
dhUmra
LQ Newbie
 
Registered: Feb 2004
Distribution: VLOS 1.1
Posts: 19

Rep: Reputation: 0
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;36i=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01r=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.
 
Old 02-07-2004, 09:35 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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?
 
Old 02-07-2004, 09:41 PM   #3
dhUmra
LQ Newbie
 
Registered: Feb 2004
Distribution: VLOS 1.1
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 02-08-2004, 04:28 PM   #4
dhUmra
LQ Newbie
 
Registered: Feb 2004
Distribution: VLOS 1.1
Posts: 19

Original Poster
Rep: Reputation: 0
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.
 
Old 02-08-2004, 04:32 PM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.
 
Old 02-08-2004, 05:30 PM   #6
dhUmra
LQ Newbie
 
Registered: Feb 2004
Distribution: VLOS 1.1
Posts: 19

Original Poster
Rep: Reputation: 0
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 . 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.
 
  


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
Compiling errors Murdock1979 Linux - Software 1 09-29-2005 02:25 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Errors compiling boombastic Linux - Newbie 7 08-04-2004 03:09 PM
compiling errors degraffenried13 Linux - General 1 04-04-2004 01:54 PM
QT compiling errors slackwarefan Slackware 1 03-01-2004 07:45 PM

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

All times are GMT -5. The time now is 04:16 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