LinuxQuestions.org
Review your favorite Linux distribution.
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 05-29-2004, 07:46 AM   #1
vladoboss
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake 10
Posts: 9
Blog Entries: 1

Rep: Reputation: 0
Pango make problems


I'm trying to install GNOME 2.6 on Mandrake 10.
I configure pango with "./configure --prefix=/opt/local" and everything goes ok. But when I run make I get message:
/home/vladoboss/gnome/pango-1.4.0/pango/.libs/libpango-1.0.so: undefined reference to `g_unichar_get_mirror_char'
collect2: ld returned 1 exit status
make[4]: *** [pango-querymodules] Error 1
make[4]: Leaving directory `/home/vladoboss/gnome/pango-1.4.0/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/vladoboss/gnome/pango-1.4.0/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/vladoboss/gnome/pango-1.4.0/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vladoboss/gnome/pango-1.4.0'
make: *** [all] Error 2
[vladoboss@vladoboss pango-1.4.0]$

What could be a problem?
 
Old 05-29-2004, 02:49 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Have you installed other things you're trying to link against in /opt/local? If so, try setting the variable
export LDFLAGS="-L/opt/local/lib"
 
Old 05-29-2004, 06:29 PM   #3
vladoboss
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake 10
Posts: 9
Blog Entries: 1

Original Poster
Rep: Reputation: 0
That didn't help :-(
And yes I have installed all previous packeges which were required by order given in GNOME instalation manual. I stuck with pango, and cannot continue with other packages without it.
 
Old 05-29-2004, 07:16 PM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Which version of glib are you compiling pango against, and where did you install it?
 
Old 05-30-2004, 09:51 AM   #5
vladoboss
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake 10
Posts: 9
Blog Entries: 1

Original Poster
Rep: Reputation: 0
glib is version 2.4.1, which is coming in GNOME 2.6 package, and it is installed in /opt/local/lib. I'm installing GNOME 2.6 in /opt/local
When I install Mandrake 10 I didn't install Gnome 2.4 , maybe this is a problem, some application maybe is missing although I doubt. The message didn't tell me that anything is missing?!
 
Old 05-30-2004, 01:15 PM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
No, Gnome isn't the problem. I have Gnome installed and I get your error if I follow your steps. I installed glib-2.4.0 (I haven't got 2.4.1 yet) in /opt/local , then I set

export PFG_CONFIG_PATH=/opt/local/lib/pkgconfig
export LD_LIBRARY_PATH=/opt/local/lib

then I cd'd into the pango folder and did

./configure --prefix=/opt/local

configure went fine but make gave the same error as you. So I deleted the pango source, untared a clean one and did it again but this time, as well as PFG_CONFIG_PATH and LD_LIBRARY_PATH , this time I set the variable I told you about before

export LDFLAGS="-L/opt/local/lib"

That fixed it. This time pango built cleanly. If you close the terminal it forgets the varibles so you need to set them again, each itme you start work. If you're going to do the whole of Gnome, you might want to put
Code:
export PFG_CONFIG_PATH=/opt/local/lib/pkgconfig
export LD_LIBRARY_PATH=/opt/local/lib
export LDFLAGS="-L/opt/local/lib"
in the hidden file .bashrc in your home folder. That will be read everytime you open a shell so the variables will be set automatically.
 
Old 05-31-2004, 07:50 AM   #7
vladoboss
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake 10
Posts: 9
Blog Entries: 1

Original Poster
Rep: Reputation: 0
YEAH, THAT WORKS!!! THANK YOU OOOOH... MASTER :-)
 
  


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
error in the creation of `etc/pango/pango.modules` okeyla Linux - Newbie 3 07-02-2011 09:06 PM
Pango 1.4 make errors - unresolved g_printf cexshun Linux - Software 1 12-06-2005 01:04 PM
Pango Make fails jarin scott Linux - Software 1 07-26-2005 12:19 PM
Gtk+ and Pango problems rundjuling Linux - Software 8 05-17-2004 02:15 PM
Pango 1.4.0 make error mafiaman Linux - Software 3 05-17-2004 10:45 AM


All times are GMT -5. The time now is 02:37 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration