Compiling problem with Gimp 2.3.9 in FreeBSD 6.1
This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1 | Haarald Sinihammas | 30 Jun 12:57 |
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1 | Haarald Sinihammas | 01 Jul 13:05 |
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1 | Haarald Sinihammas | 05 Jul 19:09 |
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1 | Tim Mooney | 05 Jul 19:47 |
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1 | Haarald Sinihammas | 06 Jul 09:22 |
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1 | Tim Mooney | 06 Jul 18:21 |
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1 | Sven Neumann | 06 Jul 22:15 |
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1 | Haarald Sinihammas | 07 Jul 00:39 |
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1
Hello!
Seems like Gimp compiling from original sources in FreeBSD are very tricky. Configuring is only successful, if i use ./configure LDFLAGS=-I/usr/local/lib CFLAGS =-I/usr/local/include CPPFLAGS=-I/usr/local/include (written by memory, sadly don't have in moment access on this machine). Anyway, configure needs linker, compiler and preprocessor parameters. If using BSD make, then compile fails, if i try gmake, little bit things get better. But then i get error (again, can't quote exact message), that SIGBUS is undefined (unreffered?) function, this happens compiling libgimp/gimp.c - line 340, if i memorize correct. Anybody familiar with FreeBSD can suggest some solutions?
Thank You in advance,
Haarald
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1
Well, now i can post exact info:
Configure command is: ./configure LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include/ CPPFLAGS=-I/usr/local/include/
if i doing gmake, then i get for last:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DXTHREADS -DXUSE_MTSAFE_API
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include
-I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include
-I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include
-DG_LOG_DOMAIN=\"LibGimp\" -D_REENTRANT
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include -I/usr/local/include/ -DGIMP_DISABLE_DEPRECATED
-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
-DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -I/usr/local/include/ -Wall -MT
gimp.lo -MD -MP -MF .deps/gimp.Tpo -c gimp.c -fPIC -DPIC -o .libs/gimp.o
gimp.c: In function `gimp_main':
gimp.c:340: error: `SIGBUS' undeclared (first use in this function)
gimp.c:340: error: (Each undeclared identifier is reported only once
gimp.c:340: error: for each function it appears in.)
gimp.c:349: error: `SA_RESTART' undeclared (first use in this function)
gimp.c: In function `gimp_extension_process':
gimp.c:1335: error: syntax error before "readfds"
gimp.c:1349: warning: implicit declaration of function `FD_ZERO'
gimp.c:1349: error: `readfds' undeclared (first use in this function)
gimp.c:1350: warning: implicit declaration of function `FD_SET'
gimp.c:1352: warning: implicit declaration of function `select'
gimp.c:1352: error: `FD_SETSIZE' undeclared (first use in this function)
gimp.c: In function `gimp_plugin_sigfatal_handler':
gimp.c:1475: error: `SIGBUS' undeclared (first use in this function)
gmake[2]: *** [gimp.lo] Error 1
gmake[2]: Leaving directory `/usr/home/zwoz/Desktop/Downloads/gimp-2.3.9
/libgimp'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/zwoz/Desktop/Downloads/gimp-2.3.9'
gmake: *** [all] Error 2
With best regards,
Haarald
On 6/30/06, Haarald Sini hammas wrote:
Hello!
Seems like Gimp compiling from original sources in FreeBSD are very tricky. Configuring is only successful, if i use ./configure LDFLAGS=-I/usr/local/lib CFLAGS =-I/usr/local/include CPPFLAGS=-I/usr/local/include (written by memory, sadly don't have in moment access on this machine). Anyway, configure needs linker, compiler and preprocessor parameters. If using BSD make, then compile fails, if i try gmake, little bit things get better. But then i get error (again, can't quote exact message), that SIGBUS is undefined (unreffered?) function, this happens compiling libgimp/gimp.c - line 340, if i memorize correct. Anybody familiar with FreeBSD can suggest some solutions?
Thank You in advance,
Haarald
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1
Hello again!
I don't find any solution yet. Seems like signal.h is not included - but
why?
If anybody need more information or clarification to help in this problem,
please tell me.
Thanks in advance,
Haarald
On 7/1/06, Haarald Sinihammas wrote:
Well, now i can post exact info:
Configure command is: ./configure LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include/ CPPFLAGS=-I/usr/local/include/
if i doing gmake, then i get for last:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk- 1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -DG_LOG_DOMAIN=\"LibGimp\" -D_REENTRANT -I/usr/local/include/glib- 2.0-I/usr/local/lib/glib- 2.0/include -I/usr/local/include/ -DGIMP_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -I/usr/local/include/ -Wall -MT gimp.lo -MD -MP -MF .deps/gimp.Tpo -c gimp.c -fPIC -DPIC -o .libs/gimp.o gimp.c: In function `gimp_main':
gimp.c:340: error: `SIGBUS' undeclared (first use in this function) gimp.c:340: error: (Each undeclared identifier is reported only once gimp.c:340: error: for each function it appears in.) gimp.c:349: error: `SA_RESTART' undeclared (first use in this function) gimp.c: In function `gimp_extension_process': gimp.c:1335: error: syntax error before "readfds" gimp.c:1349: warning: implicit declaration of function `FD_ZERO' gimp.c:1349: error: `readfds' undeclared (first use in this function) gimp.c:1350: warning: implicit declaration of function `FD_SET' gimp.c:1352: warning: implicit declaration of function `select' gimp.c:1352: error: `FD_SETSIZE' undeclared (first use in this function) gimp.c: In function `gimp_plugin_sigfatal_handler': gimp.c:1475: error: `SIGBUS' undeclared (first use in this function) gmake[2]: *** [ gimp.lo] Error 1
gmake[2]: Leaving directory `/usr/home/zwoz/Desktop/Downloads/gimp-2.3.9 /libgimp'
gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/home/zwoz/Desktop/Downloads/gimp-2.3.9' gmake: *** [all] Error 2
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1
In regard to: [Gimp-developer] Re: Compiling problem with Gimp 2.3.9 in...:
On 7/1/06, Haarald Sinihammas wrote:
Well, now i can post exact info:
Configure command is: ./configure LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include/ CPPFLAGS=-I/usr/local/include/
if i doing gmake, then i get for last:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk- 1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -DG_LOG_DOMAIN=\"LibGimp\" -D_REENTRANT -I/usr/local/include/glib- 2.0-I/usr/local/lib/glib-
2.0/include -I/usr/local/include/ -DGIMP_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -I/usr/local/include/ -Wall -MT gimp.lo -MD -MP -MF .deps/gimp.Tpo -c gimp.c -fPIC -DPIC -o .libs/gimp.o gimp.c: In function `gimp_main':
gimp.c:340: error: `SIGBUS' undeclared (first use in this function) gimp.c:340: error: (Each undeclared identifier is reported only once gimp.c:340: error: for each function it appears in.) gimp.c:349: error: `SA_RESTART' undeclared (first use in this function) gimp.c: In function `gimp_extension_process':
I tried to respond earlier, but got a bounce.
See
http://bugzilla.gnome.org/show_bug.cgi?id=344203
It's marked as fixed in CVS.
Tim
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1
Hello!
After last night and today "hacking" i now stuck again.
If i update from cvs original gimp-2.3.9 (thank you for help, Tim :)), then
anyway this don't work (cvs refuse update some files).
If i get full source from cvs then i have trouble with autogen.sh - okay,
lets using aclocal19 and so on.
But if i run automake19 -a, then i got:
configure.in:67: required file `config.h.in' not found
What program must make this config.h.in or how i get it? Maybe somebody can post working configure script for cvs source?
With best regards and thanks anybody in advance,
Haarald
On 7/5/06, Tim Mooney wrote:
In regard to: [Gimp-developer] Re: Compiling problem with Gimp 2.3.9in...:
On 7/1/06, Haarald Sinihammas wrote:
Well, now i can post exact info:
Configure command is: ./configure LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include/ CPPFLAGS=-I/usr/local/include/
if i doing gmake, then i get for last:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk- 1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/local/include
-DG_LOG_DOMAIN=\"LibGimp\" -D_REENTRANT -I/usr/local/include/glib- 2.0-I/usr/local/lib/glib-
2.0/include -I/usr/local/include/ -DGIMP_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED-DPANGO_DISABLE_DEPRECATED
-DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -I/usr/local/include/ -Wall
-MT
gimp.lo -MD -MP -MF .deps/gimp.Tpo -c gimp.c -fPIC -DPIC -o
.libs/gimp.o
gimp.c: In function `gimp_main':
gimp.c:340: error: `SIGBUS' undeclared (first use in this function) gimp.c:340: error: (Each undeclared identifier is reported only once gimp.c:340: error: for each function it appears in.) gimp.c:349: error: `SA_RESTART' undeclared (first use in this function) gimp.c: In function `gimp_extension_process':I tried to respond earlier, but got a bounce.
See
http://bugzilla.gnome.org/show_bug.cgi?id=344203
It's marked as fixed in CVS.
Tim --
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1
In regard to: Re: [Gimp-developer] Re: Compiling problem with Gimp 2.3.9 in...:
Hello!
After last night and today "hacking" i now stuck again. If i update from cvs original gimp-2.3.9 (thank you for help, Tim :)), then anyway this don't work (cvs refuse update some files). If i get full source from cvs then i have trouble with autogen.sh - okay, lets using aclocal19 and so on.
But if i run automake19 -a, then i got:configure.in:67: required file `config.h.in' not found
I'm not sure why this is happening for you, but if you're having trouble with CVS, perhaps you should try the 2.3.10 development snapshot?
Tim
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1
Hi,
On Thu, 2006-07-06 at 10:22 +0300, Haarald Sinihammas wrote:
If i get full source from cvs then i have trouble with autogen.sh - okay, lets using aclocal19 and so on.
You should use autogen.sh. If you want to specify a particular binary to use instead of aclocal, you can do that by setting the appropriate environment variables:
ACLOCAL=aclocal19 ./autogen.sh
Sven
Compiling problem with Gimp 2.3.9 in FreeBSD 6.1
Hello!
Many thanks for answers!
Maybe some day i try cvs source compiling again. Now i have successfully compiled working gimp from devel release - 2.3.10 are nice. Thanks, Tim, i think i should read more announcements :)
With best regards, Haarald