Hello, I have been trying to compile Gimp. To do so, I had to compile its dependencies Babl and Gegl. After doing so I use this command to try to compile it:
. And configures tells me:
Quote:
checking for BABL... yes
checking for GEGL... no
configure: error: Test for GEGL failed. Please get it from GEGL
It works fine for Babl but not for Gegl. Why is that? WHat can I do to change that? Thanks for your time.
It works fine for Babl but not for Gegl. Why is that? WHat can I do to change that? Thanks for your time.
First: i don't think you can set the variable PKG_CONFIG that way. Try:
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.
First: i don't think you can set the variable PKG_CONFIG that way. Try:
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:
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:
and finally
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
I tried to use
and also
and neither worked.
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 and of relevant stuff
Fair enough. My reasoning was that somehow babl worked and gegl didn't. Comparing the two might have given a reason for why that is the case.
Whenever i have to compile something from source instead of directly calling the configure script i create a little script for that which looks like this:
and i add/remove/change options only there. This way i can more easily reproduce what i have done and learn from what failed. Further, i have the file configure.lastrun with all the output to examine it even when it is not on screen any more.
I also found a pointer in the Developers Wiki about maybe the wrong gegl version being used:
Quote:
GIMP build breaks for missing dependency gegl-0.2 > 0.2.0
Problem: Building GIMP fails with a message, that the dependency gegl-0.2 > 0.2.0 is not met. But in $prefix I see the GEGL files, for instance gegl-0.3.pc in $prefix/lib/pkgconfig.
Cause: You have mismatched the versions:
See the given link for details about how to deal with that.
I am not sure of what he means by
It is to I simply run make and make install again from the build dir?
What s/he means is to get a fresh set of sources by checking them out from the version control system, presumably git. The underlying suspicion is that you have a version mismatch between the gegl library and the main gimp program.
What s/he means is to get a fresh set of sources by checking them out from the version control system, presumably git. The underlying suspicion is that you have a version mismatch between the gegl library and the main gimp program.
I hope this helps.
bakunin
I did that, but there is no makefile, just a makefile.am. I tried to execute the autogen.sh file, but he complains that I do not have autoreconf. Do I have to download, compile and run autotools?
I also downloaded two never versions of Gegl, 0.2.2 and 0.3.0 and tried to build both. First Both complained about my Glib versions (2.28) being two old. The first required 2.32 and the second, 2.36. I downloaded it and build it. When passing it the new Glib to both with
, I received this same message from both (outisde gegl 0.3 requiring glib 2.36)
Then I followed the error message tip and set up
. It allowed the pass the configure part of gegl 0.2.2, but with the 0.3.0 I receive
Quote:
checking for GLIB - version >= 2.36.0... yes (version 2.36.0)
checking for DEP... no
configure: error:
*** GLib not found. You can find it on ftp://ftp.gtk.org
*** Errors follow:
No package 'json-glib-1.0' found
Moved on to try to build the 0.2.0 and received this:
This msgstr on /usr/local/bin is just a sym link to its real location in /media/34GB/Arquivos-de-Programas-Linux/Gettext-0.15/bin/msgfmt. Maybe that is the cause of the error messages?
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)