LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-25-2008, 03:51 AM   #1
rixtr66
Member
 
Registered: Aug 2008
Location: Portland,ME.
Distribution: Slackware
Posts: 102

Rep: Reputation: 15
Unhappy trying to compile inkscape,cant get past configure?


i am trying to compile inkscape on slackware12.1,but i cant get any farther than ,/configure.i hwd to use ./autogen.sh,wich ran for a little bit then gave me this error;

ARNING: aclocal's directory is /usr/local/share/aclocal, but...
no file /usr/local/share/aclocal/pkg.m4
You may see fatal macro warnings below.
If these files are installed in /some/dir, set the ACLOCAL_FLAGS
environment variable to "-I /some/dir", or install
/usr/local/share/aclocal/pkg.m4.


Running aclocal-1.10 ...
configure.ac:132: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
Running autoheader ...
autoheader: warning: missing template: ENABLE_NLS
autoheader: Use AC_DEFINE([ENABLE_NLS], [], [Description])
Please fix the error conditions and try again.
root@slack-1:/home/rick/inkscape#

i really dont know how to fix this.all the dependancies are installed,i dont know how to enable nls,or install the directories.can someone please help with this?
Rick
 
Old 08-25-2008, 04:04 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You shouldn't be running autogen.sh yourself. That script should be run by something else (possibly configure, I don't know) to generate makefiles (I think, I'm not sure about this). What happens when you run the configure script?
 
Old 08-25-2008, 04:27 AM   #3
rixtr66
Member
 
Registered: Aug 2008
Location: Portland,ME.
Distribution: Slackware
Posts: 102

Original Poster
Rep: Reputation: 15
Unhappy

when i run ./configure i get this;
root@slack-1:/home/rick# cd '/home/rick/inkscape'
root@slack-1:/home/rick/inkscape# ./configure
configure: error: cannot find install-sh or install.sh in "." "./.." "./../.."
root@slack-1:/home/rick/inkscape#
so i ran the other script.now i really dont know what to do.
this is my first try at compiling a program like inkscape.
 
Old 08-25-2008, 04:29 AM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
You seem to be missing dependencies. Is it essential for you to build Inkscape? Is there no precompiled package that suits you?

To build Inkscape you will need to install the M4 macros and other build dependencies (check the Inkscape project pages or perhaps there is an "INSTALL" file which tells you what the dependencies are). The build dependencies are in two classes - the build tools and the libraries needed at runtime. Common build tools include libtool, automake, autoconf, make, gcc - there are numerous others and you don't want to install something you don't need, so read the Inkscape documentation to see what build tools you need. The same goes for the libraries which you need.

After installing any library dependencies, you will also need to install the headers for those libraries (usually they have a similar name but with '-dev' in the package name). Without the library headers, the compiler will have no idea how to make Inkscape work with those libraries.
 
Old 08-25-2008, 04:31 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Which version of Inkscape did you download? Perhaps try downloading the latest version (again). Also, you don't need to be root to run configure or make, only for the last step (make install).

Edit: FWIW, SlackBuilds.org has SlackBuild scripts for Inkscape, so if you want, you could use those to build Slackware packages.
 
Old 08-25-2008, 05:54 AM   #6
rixtr66
Member
 
Registered: Aug 2008
Location: Portland,ME.
Distribution: Slackware
Posts: 102

Original Poster
Rep: Reputation: 15
i dont know how to execute the slackbuild scripts,but i found a buildable version.i just want to be able to build stuff!i have the slackbuild scripts and havnt had any luck with them.but i need to find libboost-dev before i can start building.
Rick
 
Old 08-25-2008, 06:00 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Usually with SlackBuild scripts, all you need to do is make them executable (man chmod) and then run them (./foo).
 
Old 08-25-2008, 07:06 AM   #8
rixtr66
Member
 
Registered: Aug 2008
Location: Portland,ME.
Distribution: Slackware
Posts: 102

Original Poster
Rep: Reputation: 15
thanks!i got the slackbuild script to run.but its still asking for libboost-dev.ive googled the hell out of this and i went to the boost website and still cant find it!any ideas?
Rick
 
Old 08-25-2008, 07:12 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Get the source at boost.org and build it. I can't be more specific than that, unfortunately, as I don't use Boost. Perhaps SlackBuilds.org has a SlackBuild for Boost, too.
 
Old 08-25-2008, 07:38 AM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
There is a SlackBuild for Boost:

http://slackbuilds.org/repository/12...lopment/boost/
 
Old 08-25-2008, 05:43 PM   #11
rixtr66
Member
 
Registered: Aug 2008
Location: Portland,ME.
Distribution: Slackware
Posts: 102

Original Poster
Rep: Reputation: 15
Unhappy

ok i got every dependancy under the sun except magik++ i couldnt figure out how to configure and make it,so of course i still get errors.
anyone know how to configure and make magik++?
Rick
 
Old 08-25-2008, 11:39 PM   #12
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Read the installation instructions? If you're having problems, you need to tell us exactly what they are, because we can't help otherwise.
 
Old 08-26-2008, 04:13 AM   #13
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
It doesn't mention magik++ as a requirement on the Inkscape SlackBuild page.
 
Old 08-26-2008, 05:19 AM   #14
sleekslack
Member
 
Registered: Mar 2008
Location: Bangkok, Thailand
Distribution: Slackware64 13.37
Posts: 34

Rep: Reputation: 16
I use SlackBuild script to build Inkscape myself too. I don't remember if it's required magik++. All I remember is just build and install the dependencies required by Inkscape after that instruction, then build the Inkscape itself and install. All went smoothly.
 
Old 08-26-2008, 12:19 PM   #15
rixtr66
Member
 
Registered: Aug 2008
Location: Portland,ME.
Distribution: Slackware
Posts: 102

Original Poster
Rep: Reputation: 15
the dependancies are installed,i read the instructions for magic++wich is part of image magik,but still no luck.anyway it asks forit at the end of the configure script.here is the error im getting,(using the slackbuild)

In file included from /usr/include/gtkmm-2.4/gtkmm.h:116,
from display/canvas-grid.h:18,
from desktop-events.cpp:34:
/usr/include/gtkmm-2.4/gtkmm/printcontext.h:28:29: error: cairomm/context.h: No such file or directory
In file included from /usr/include/gtkmm-2.4/gtkmm.h:118,
from display/canvas-grid.h:18,
from desktop-events.cpp:34:
/usr/include/gtkmm-2.4/gtkmm/printjob.h:31:29: error: cairomm/surface.h: No such file or directory
In file included from /usr/include/gtkmm-2.4/gtkmm.h:116,
from display/canvas-grid.h:18,
from desktop-events.cpp:34:
/usr/include/gtkmm-2.4/gtkmm/printcontext.h:110: error: 'Cairo' has not been declared
/usr/include/gtkmm-2.4/gtkmm/printcontext.h:110: error: ISO C++ forbids declaration of 'RefPtr' with no type
/usr/include/gtkmm-2.4/gtkmm/printcontext.h:110: error: expected ';' before '<' token
/usr/include/gtkmm-2.4/gtkmm/printcontext.h:112: error: 'Cairo' has not been declared
/usr/include/gtkmm-2.4/gtkmm/printcontext.h:112: error: ISO C++ forbids declaration of 'RefPtr' with no type
/usr/include/gtkmm-2.4/gtkmm/printcontext.h:112: error: expected ';' before '<' token
/usr/include/gtkmm-2.4/gtkmm/printcontext.h:140: error: expected ',' or '...' before '::' token
/usr/include/gtkmm-2.4/gtkmm/printcontext.h:140: error: ISO C++ forbids declaration of 'Cairo' with no type
In file included from /usr/include/gtkmm-2.4/gtkmm.h:118,
from display/canvas-grid.h:18,
from desktop-events.cpp:34:
/usr/include/gtkmm-2.4/gtkmm/printjob.h:211: error: 'Cairo' has not been declared
/usr/include/gtkmm-2.4/gtkmm/printjob.h:211: error: ISO C++ forbids declaration of 'RefPtr' with no type
/usr/include/gtkmm-2.4/gtkmm/printjob.h:211: error: expected ';' before '<' token
make[2]: *** [desktop-events.o] Error 1
make[2]: Leaving directory `/tmp/SBo/inkscape-0.46/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/inkscape-0.46'
make: *** [all] Error 2
root@slack-1:/home/rick#
im using a newer version of gtkmm,why am i getting this error?
any help would be greatfully accepted.
Rick
 
  


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
[HELP] Configure and Compile Yuki Linux - Newbie 1 08-24-2008 12:26 PM
how to cross compile with configure i.you Linux - Software 1 10-17-2007 02:18 PM
How do I configure my wacom graphics tablet to work with ubuntu (inkscape,GIMP etc.) izquierdista Ubuntu 5 09-30-2007 11:05 PM
How do you compile/configure/install sonofamre Linux - Newbie 1 08-22-2005 09:32 AM
configure/compile help puma Linux - Software 2 05-19-2003 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:55 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
Open Source Consulting | Domain Registration