LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-27-2018, 02:44 PM   #1
coltson
Member
 
Registered: Oct 2010
Posts: 149

Rep: Reputation: 3
Cannot compile atk (error during makefile execution)


Hello, I have been trying to compile atk (part of Gnome, required by GTK). After a good amount of effort, I was able to execute its configure through
Quote:
./configure --prefix=/media/34GB/Arquivos-de-Programas-Linux/ATK/ PKG_CONFIG_PATH=/media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib/pkgconfig/
and
Quote:
export LD_LIBRARY_PATH=/media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib/
However, when I executed "make", it says:
Quote:
make all-recursive
make[1]: Entering directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1'
Making all in atk
make[2]: Entering directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1/atk'
GEN stamp-atkmarshal.h
/bin/bash: glib-genmarshal: command not found
make[2]: *** [stamp-atkmarshal.h] Error 127
make[2]: Leaving directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1/atk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1'
make: *** [all] Error 2
So it cannot find this gen-marshall. So issued a
Quote:
sudo ln -s /media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/bin/glib-genmarshal /usr/local/bin/
and repeated the "make". Now I am receiving:
Quote:
make
make all-recursive
make[1]: Entering directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1111'
Making all in atk
make[2]: Entering directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1111/atk'
GEN stamp-atkmarshal.h
GEN stamp-atkmarshal.c
GEN s-enum-types-h
/bin/bash: line 1: glib-mkenums: command not found
make[2]: *** [s-enum-types-h] Error 127
make[2]: Leaving directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1111/atk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1111'
make: *** [all] Error 2
So this "glib-mkenums" is on the same place were "gen-marshall" is, on Glib-2.28/bin/. I guess I can create another symbolic link for it on /usr/local/bin. But if there is another Glib small program that will not be found by atk's Makefile? And another one after that? And many more after these?

So, what I am here to ask is: What are the options to make Atk's makefile to find all these small Glib programs? I prefer to not install Glib to system executable directories. In its place, I would rather link every little needed executable, but I was thinking if there is something LD_LIBRARY_PATH, to do Glib-2.28/bin to became a system wide directory to look for executables. Any other suggestion is welcome.
 
Old 11-27-2018, 04:57 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Someone else had this problem and was given a solution.
 
1 members found this post helpful.
  


Reply



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
are they same " sh execution " and " ./ execution " shravee Linux - Newbie 1 04-17-2010 01:11 AM
automake, makefile, makefile.in and makefile.am Fond_of_Opensource Linux - Newbie 1 09-12-2006 08:35 PM
what is the meaning of Makefile,Makefile.am,Makefile.in cynthia_thomas Linux - General 3 12-08-2005 05:00 AM
ATK compile problem cloudnyne132 Linux - Newbie 4 03-25-2004 04:59 PM
ATK compile problem cloudnyne132 Linux - Software 1 03-24-2004 06:17 PM

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

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