trying to compile inkscape,cant get past configure?
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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?
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.
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.
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.
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
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
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.
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.