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 10-07-2007, 03:03 PM   #1
ryanfx
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Rep: Reputation: 0
compiling Cairo


Hey guys,

I'm trying to recompile a newer version of GTK+. Cairo is obviously a dependency but I'm having problems compiling it. my configure successfully runs, I then try a "make" but it terminates with a set of errors. Does anyone know what I could possibly do, or familiar with this problem?

Code:
cairo-type1-subset.c: In function `cairo_type1_font_subset_decrypt_eexec_segment':
cairo-type1-subset.c:368: error: implicit declaration of function `isspace'
cairo-type1-subset.c:368: warning: nested extern declaration of `isspace'
cairo-type1-subset.c: In function `skip_token':
cairo-type1-subset.c:388: warning: nested extern declaration of `isspace'
cairo-type1-subset.c: In function `cairo_type1_font_subset_for_each_glyph':
cairo-type1-subset.c:716: warning: nested extern declaration of `isspace'
make[2]: *** [cairo-type1-subset.lo] Error 1
make[2]: Leaving directory `/root/programs/cairo-1.2.6/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/programs/cairo-1.2.6/src'
make: *** [install-recursive] Error 1


EDIT: DLed a newer version of Cairo.. compiled fine.. oh well!

Last edited by ryanfx; 10-07-2007 at 03:56 PM.
 
Old 11-15-2007, 11:55 AM   #2
ejay563
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
Hi,

I had this problem, and did a little searching on the internet, and came up with this.

1) Go to http://bugs.freedesktop.org/attachme...10&action=diff and notice the difference in the the header files included (The one on the right is how you are going to want it to look like.

2) Go to your cairo directory, in it, there should be a folder names "src". Open the folder, and look for the file "cairo-type1-subset.c"

3) Once you find the file, make a backup copy of it (just for good practice), then open it in your favorite text editor.

4) Look for the part of the file that looks like the text on the page linked above, and add the line highlighted in green as in the right side of the page linked above.

5) Save the file

6) run ./configure again, and make, and it should build. then make install

Hope this helped!
 
Old 05-27-2008, 05:53 AM   #3
pansat00
LQ Newbie
 
Registered: May 2008
Posts: 5

Rep: Reputation: 0
Ejay, I am have a similar problem with cairo when I run make install. Here is what I am getting:

/usr/bin/install -c .libs/libcairo.lai /usr/lib/libcairo.la
/usr/bin/install: cannot stat `.libs/libcairo.lai': No such file or directory
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/usr/local/src/cairo-1.6.4/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/local/src/cairo-1.6.4/src'
make: *** [install-recursive] Error 1

Do I need to change something in a file in order to install cairo?
 
Old 12-08-2008, 10:43 AM   #4
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / GoboLinux / LFS / VoidLinux
Posts: 145

Rep: Reputation: 26
Got similar problem

my question is:

what is a .lai file?


I know what .la libtool files are but i dont understand why one needs a .lai file
 
  


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
problems makeing cairo-1.2.6 bloodyscript Ubuntu 1 07-23-2007 10:32 AM
compiling cairo 1.2.6 on CentOS 4.x primorec Linux - Desktop 0 02-08-2007 04:13 AM
cairo in testing gefst Slackware 4 10-08-2006 05:19 PM
installing cairo? lilili Linux - Newbie 9 02-01-2006 01:19 PM
gtk+2.8 and cairo John Velman Slackware 3 10-19-2005 05:16 PM

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

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