LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-11-2003, 11:03 PM   #1
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
compiling dia from source


Hi,
Im on Slack 9. I've been trying to compile Dia 0.91 but i keep getting this error when doing the make:

In file included from font.c:31:
/usr/include/pango-1.0/pango/pangoft2.h:26:31: freetype/freetype.h: No such file or directory
In file included from font.c:31:
/usr/include/pango-1.0/pango/pangoft2.h:52: syntax error before '*' token
/usr/include/pango-1.0/pango/pangoft2.h:57: syntax error before '*' token
/usr/include/pango-1.0/pango/pangoft2.h:61: syntax error before '*' token
/usr/include/pango-1.0/pango/pangoft2.h:86: syntax error before "pango_ft2_font_get_face"
/usr/include/pango-1.0/pango/pangoft2.h:86: warning: type defaults to `int' in declaration of `pango_ft2_font_get_face'
/usr/include/pango-1.0/pango/pangoft2.h:86: warning: data definition has no type or storage class
font.c:111: warning: no previous prototype for `dia_font_pop_context'
font.c:117: warning: no previous prototype for `dia_font_get_context'
make[2]: *** [font.lo] Error 1
make[2]: Leaving directory `/home/figa/downloads/dia-0.91/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/figa/downloads/dia-0.91'
make: *** [all-recursive-am] Error 2

any ideas anyone?


Thanks
Figa
 
Old 08-12-2003, 01:36 PM   #2
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Original Poster
Rep: Reputation: 30
I guess I've run out of luck then!


Figa
 
Old 08-12-2003, 01:48 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
you've not got the pango development libraries installed
 
Old 08-12-2003, 03:55 PM   #4
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Original Poster
Rep: Reputation: 30
Should that be just pango, or shuld it be something like libpango? 'Cause if Im not mistaken or crazy pango is already installed. Well actually according to the remove option of pkgtool, it is already intalled.

Thanks for the reply acid!


Figa
 
Old 08-12-2003, 09:19 PM   #5
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55
It looks like it can't find freetype/freetype.h. Make sure you have freetype installed.

I have /usr/include/freetype1 and /usr/include/freetype2 directories on my machine. You may have to pass some options to ./configure to steer it toward the appropriate one.

See ./configure --help and see what you can dig up.

Lyle
 
  


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 apt from source - where's the source? stynhx9000 Ubuntu 2 12-01-2005 08:32 AM
Help with Compiling from Source Hubmasterflex Linux - Software 2 06-11-2005 07:30 PM
Compiling from source... (64) Blash Linux - Software 8 06-11-2005 01:31 AM
compiling software from source...how do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 10:09 PM
compiling dia 0.90 cl-user Conectiva 1 12-20-2002 04:31 PM

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

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