Sponsored Content
Top Forums UNIX for Advanced & Expert Users Gimp's configure do not find Gegl libs Post 303024841 by colt on Wednesday 17th of October 2018 08:49:50 PM
Old 10-17-2018
Quote:
Originally Posted by bakunin
First: i don't think you can set the variable PKG_CONFIG that way. Try:

Code:
export PKG_CONFIG_PATH=/media/34GB/Arquivos-de-Programas-Linux/Babl-0.1.10/lib/pkgconfig/:/media/34GB/Arquivos-de-Programas-Linux/Gegl-0.1.6/lib/pkgconfig/
./configure --prefix=/media/34GB/Arquivos-de-Programas-Linux/Gimp-2.6.0/

instead. You can also have a look into the configure script (its a shell script) and find out what it does when checking for Babl, then apply that knowledge to where it searches for Gegl. Most probably some environment setting is either missing or not in the correct form.

I hope this helps.

bakunin
Well I already used it before when compiling Gegl that needed Glib and Babl. Anyway the export attempt did not work. I started to look in the configure with
Quote:
grep babl configure
and of relevant stuff (it returned a lot of occurrences of "proBABLy") it returned this:

Code:
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"babl >= 0.0.22\"") >&5
  ($PKG_CONFIG --exists --print-errors "babl >= 0.0.22") 2>&5
  pkg_cv_BABL_CFLAGS=`$PKG_CONFIG --cflags "babl >= 0.0.22" 2>/dev/null`
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"babl >= 0.0.22\"") >&5
  ($PKG_CONFIG --exists --print-errors "babl >= 0.0.22") 2>&5
  pkg_cv_BABL_LIBS=`$PKG_CONFIG --libs "babl >= 0.0.22" 2>/dev/null`
            BABL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "babl >= 0.0.22"`
            BABL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "babl >= 0.0.22"`
                { { echo "$as_me:$LINENO: error: Test for babl failed. Please get it from http://gegl.org/" >&5
echo "$as_me: error: Test for babl failed. Please get it from http://gegl.org/" >&2;}
    { { echo "$as_me:$LINENO: error: Test for babl failed. Please get it from http://gegl.org/" >&5
echo "$as_me: error: Test for babl failed. Please get it from http://gegl.org/" >&2;}
[/quote]now with gegl: [quote]{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gegl >= 0.0.18\"") >&5
  ($PKG_CONFIG --exists --print-errors "gegl >= 0.0.18") 2>&5
  pkg_cv_GEGL_CFLAGS=`$PKG_CONFIG --cflags "gegl >= 0.0.18" 2>/dev/null`
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gegl >= 0.0.18\"") >&5
  ($PKG_CONFIG --exists --print-errors "gegl >= 0.0.18") 2>&5
  pkg_cv_GEGL_LIBS=`$PKG_CONFIG --libs "gegl >= 0.0.18" 2>/dev/null`
            GEGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gegl >= 0.0.18"`
            GEGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gegl >= 0.0.18"`
                { { echo "$as_me:$LINENO: error: Test for GEGL failed. Please get it from http://gegl.org/" >&5
echo "$as_me: error: Test for GEGL failed. Please get it from http://gegl.org/" >&2;}
    { { echo "$as_me:$LINENO: error: Test for GEGL failed. Please get it from http://gegl.org/" >&5
echo "$as_me: error: Test for GEGL failed. Please get it from http://gegl.org/" >&2;}

I don't have knowledge of shell scripting but these two pieces seems to do the same checking for both. However gegl also has this:

Code:
ac_config_files="$ac_config_files tools/Makefile tools/pdbgen/Makefile ..... /*lots of directories not related to gegl*/  app/gegl/Makefile ..... /*more many other dir not gegl related*/ ....

and finally
Code:
"app/gegl/Makefile") CONFIG_FILES="$CONFIG_FILES app/gegl/Makefile" ;;

On this app/geggl/Makefile dir there is a lot of .h and .c file and a Makefile.am and a Makefile.in file. Shall I look into them?

Also using ./configure --help, there are these environment variables
Code:
BABL_CFLAGS C compiler flags for BABL, overriding pkg-config
  BABL_LIBS   linker flags for BABL, overriding pkg-config
  GEGL_CFLAGS C compiler flags for GEGL, overriding pkg-config
  GEGL_LIBS   linker flags for GEGL, overriding pkg-config

I tried to use
Code:
 ./configure --prefix=/media/34GB/Arquivos-de-Programas-Linux/Gimp-2.6.0/ PKG_CONFIG_PATH=/media/34GB/Arquivos-de-Programas-Linux/Babl-0.1.10/lib/pkgconfig/ GEGL_LIBS=/media/34GB/Arquivos-de-Programas-Linux/Gegl-0.1.6/lib/

and also
Code:
./configure --prefix=/media/34GB/Arquivos-de-Programas-Linux/Gimp-2.6.0/ PKG_CONFIG_PATH=/media/34GB/Arquivos-de-Programas-Linux/Babl-0.1.10/lib/pkgconfig/ GEGL_LIBS=/media/34GB/Arquivos-de-Programas-Linux/Gegl-0.1.6/lib/pkgconfig

and neither worked.

Last edited by colt; 10-18-2018 at 02:48 PM..
 

10 More Discussions You Might Find Interesting

1. Programming

compiling with include & libs

I like to compile a cxx file with g++ compiler. I tried with option g++ -I<include path> -L<library path> source-file but ending with compilation error in /usr/local/bin/gcc-lib/.../crt1.o I think the libraries are not taken from proper path How to compile a cxx file with libraries... (1 Reply)
Discussion started by: ls1429
1 Replies

2. UNIX for Dummies Questions & Answers

configure script can't find a library

I installed libxml2 library from source and it installed itself in /usr/local/lib i added /usr/local/lib to ld.so.conf and ran a ldconfig ( as root ) then i tried to compile tablix-0.0.3 wich does require the installed version of libxml2 i ran ./configure ( as normal user ) and i get the... (2 Replies)
Discussion started by: progressdll
2 Replies

3. Shell Programming and Scripting

who to compile needed libs with Make

Hello all my project is contains 2 directories, 2 directories are building library and one for the executable that using the libes from the other 2 Now what im doing is compiling first the 2 libs directories and then the main directory. But I will like to automate the process and to be able ... (0 Replies)
Discussion started by: umen
0 Replies

4. Solaris

PZ help :configure: error: cannot find output from flex; giving up

While installing amanda server,i got the following error ## checking lex output file root... configure: error: cannot find output from flex; giving up. when i execute # which lex i got /usr/ccs/bin/lex setting the pathg does not work too After this i tried intalling flex in my /opt... (0 Replies)
Discussion started by: bullet350
0 Replies

5. Programming

Seeking Some libs for AIX 5.3

hello everybody! I m compiling some program with the g++ on AIX 5.3 and it needs some library that i didn't find them i am new with the AIX here is the compilation error : g++ -Daix -fpic -o printps -lxercesc1_1 -L/oracle/OraHome/lib32/ -L/epost2/blitz/lib -lhmltods -lhmltops -lgeneric... (0 Replies)
Discussion started by: eternalflame
0 Replies

6. AIX

Q: AIX dynamic linked libs

I think the default extension on AIX is .a so for dynamic lib "libabc.a", we can simply link against it by specifying "-labc" but here I have a dylib which been built by some one else called "libxyz.so" on AIX. once I say "-lxyz" the linker is only looking for libxzy.a but not .so after that.... (2 Replies)
Discussion started by: acerlinux
2 Replies

7. Programming

shared libs

The gcc version is different on my computer than on the remote computer. An ldd on my program says: Is there any way I can tell gcc to compile my program against my version of libc-2.7.so and ld-2.7.so (which I would provide along with the program) instead of the remote computer's libs ? (I do... (5 Replies)
Discussion started by: cyler
5 Replies

8. SuSE

How to get RPM Dependencies/libs

Hi All, I wanted to install an rpm package on two suse 10 systems. It installed successfully on one system but on the other it throws an error like error: Failed dependencies: rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed by linuxProj-1-1.noarch Now this means that rpnm... (4 Replies)
Discussion started by: dirshah
4 Replies

9. AIX

Create shared libs on AIX (with certain libs which are statically linked)

I want to create a shared lib with certain libs statically linked to it. I can generate a fully shared lib as follows: gcc -maix64 -DHAVE_CONFIG_H -I. -I./src -DHAVE_OPENSSL -I/usr/include/openssl -I/usr/include -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/usr/java8_64/include -shared -o... (0 Replies)
Discussion started by: amandeepgautam
0 Replies

10. UNIX for Advanced & Expert Users

Required libs to compile libXft

Hello. I am looking for all the necessary packages required to be able to compile libXft. I tried to compile libXft-2.1.8.2$ and the error message was: checking for XRENDER... checking for XRENDER... checking for X... no checking X11/extensions/Xrender.h usability... no checking... (1 Reply)
Discussion started by: colt
1 Replies
All times are GMT -4. The time now is 06:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy