LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ./configure problem slackware 9.1 (https://www.linuxquestions.org/questions/slackware-14/configure-problem-slackware-9-1-a-177588/)

salahuddin_66 05-03-2004 11:36 PM

./configure problem slackware 9.1
 
inkscape-0.38.1

bash-2.05b$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for intltool >= 0.22... 0.30 found
checking for perl... /usr/bin/perl
configure: error: XML::Parser perl module is required for intltool
bash-2.05b$

my question is how can i can (XML::Parser perl module is required for intltool) fix it

i have give full installation of slackware 9.1

shilo 05-03-2004 11:41 PM

I belive this will help

http://search.cpan.org/CPAN/authors/...er-2.34.tar.gz

salahuddin_66 05-03-2004 11:55 PM

yes it is working

but it gives another err

Package sigc++-1.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sigc++-1.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sigc++-1.2' found

configure: error: Library requirements (gtk+-2.0 >= 2.0.0 libart-2.0 >= 2.3.10 libxml-2.0 >= 2-2.4.24 sigc++-1.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

nonperson 05-04-2004 04:40 AM

configure: error: Library requirements (gtk+-2.0 >= 2.0.0 libart-2.0 >= 2.3.10 libxml-2.0 >= 2-2.4.24 sigc++-1.2)

All that stuff in parenthises are the packages which you must have compiled and installed on your system in order to compile and install whatever it is your doing. I suggest looking on your slackware source cd or around on the web for them. Build them first, and then build whatever your trying to build now.

The PKG_CONFIG_PATH bit is for if you have installed something, but in a nonstandered place, like /opt. If you have sigc++ installed somewhere already, type 'export PKG_CONFIG_PATH=/wherever/its/installed' from you bash prompt. It's called an environment variable.

salahuddin_66 05-04-2004 09:13 PM

i have installed
libsigc++-2.0.1
plugin in /usr/local/lib/
but still give
----------------------------------------------------------------------------------------
checking for zlib.h... yes
checking for gtk+-2.0 >= 2.0.0 libart-2.0 >= 2.3.10 libxml-2.0 >= 2-2.4.24 sigc++-1.2... Package sigc++-1.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sigc++-1.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sigc++-1.2' found

configure: error: Library requirements (gtk+-2.0 >= 2.0.0 libart-2.0 >= 2.3.10 libxml-2.0 >= 2-2.4.24 sigc++-1.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
----------------------------------------------------------------------------------------
how can i set the sigc++ path


i have slackware source d3 and d4

salahuddin_66 05-04-2004 10:29 PM

the
sigc++-2.0.pc files in
/usr/local/lib/pkgconfig

and other *.pc files in
/usr/lib/pkgconfig

but it could not find the sigc++
how can i set the sig path pkgconfig

coldAndUgly 05-05-2004 03:16 AM

Hi, just type
Code:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
in the terminal before you run configure.
If you want to set it permanently you can put it in /etc/profile.

salahuddin_66 05-05-2004 07:58 AM

nope not working

still shows

checking for gtk+-2.0 >= 2.0.0 libart-2.0 >= 2.3.10 libxml-2.0 >= 2-2.4.24 sigc++-1.2... Package sigc++-1.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sigc++-1.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sigc++-1.2' found

configure: error: Library requirements (gtk+-2.0 >= 2.0.0 libart-2.0 >= 2.3.10 libxml-2.0 >= 2-2.4.24 sigc++-1.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

thegeekster 05-06-2004 07:28 AM

Try adding that path, /usr/local/lib/pkgconfig, to /etc/ld.so.conf.......and then run the command:

ldconfig

NOTE: you must be root to do this..... :)

salahuddin_66 05-07-2004 11:57 AM

nope
not working
is there any way to set this with pkg-config
i have gave man pkg-config but the manuals is not enough

thegeekster 05-08-2004 02:27 PM

I'm curious, but what version KDE and QT are you using..................the reason I ask is that if you upgrade KDE without upgrading to the QT package that is found with the KDE packages, you may experience problems trying to compile apps....

I've found it to be important to keep the QT/KDE packages in sync.....................I don't know if this is the case here, but thought it worth mentioning....... :)

StumpE 05-08-2004 08:17 PM

Having just successfully overcome the exact problem you are facing, let me help...

Inkscape apparently requires SigC++ version 1.2, but you have SigC++ version 2.0 installed. You need to download and compile libsigc++-1.2 (don't worry, it seems to be able to coexist with version 2.0), and then add /usr/local/lib/pkgconfig to PKG_CONFIG_PATH as explained above.

BTW, I tried to just link sigc++-1.2.pc to point to my already-installed sigc++-2.0.pc, but then promptly ran into an error while compiling. The dependency on version 1.2 is strict.... after I installed libsigc++-1.2.5, I had no problems compiling.

salahuddin_66 05-08-2004 09:17 PM

i will install

sigc++ 1.2.5

salahuddin_66 05-08-2004 09:56 PM

yes it is now working

i have installed libsigc++-2.0.1 then it was not working
but after install libsigc++-1.2.5

working fine


All times are GMT -5. The time now is 07:27 AM.