It is currently Thu Sep 03, 2026 8:31 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Compiling Gimp 2.7.2 for Windows
PostPosted: Wed Nov 17, 2010 3:22 pm  (#1) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
:yes I have found a way to re-install the latest version of Intltool!
Cross your fingers for a successful compile. :hehe

Though I am almost positive I will need more dependencies...maybe not though.
We shall see soon enough ... :rofl

More to come...

_________________
Image


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Compiling Gimp 2.7.2 for Windows
PostPosted: Thu Nov 18, 2010 10:53 am  (#2) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Rod wrote:
:yes I have found a way to re-install the latest version of Intltool!
Cross your fingers for a successful compile. :hehe

Though I am almost positive I will need more dependencies...maybe not though.
We shall see soon enough ... :rofl

More to come...



Are you compiling BABL and GEGL too, or did yo find compiled versions of the latest libs? I can only find old ones that 2.7.x won't compile against. :(

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Compiling Gimp 2.7.2 for Windows
PostPosted: Thu Nov 18, 2010 3:18 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Oct 29, 2010
Posts: 711
Location: Netherlands
Hi RobA,
Here you are.
ftp://gimptest.flamingtext.com/pub/nightly-tarballs/
Good luck,
Gerard.

_________________
Gentoo Linux always up-to-date.
Kernel-3.17.4 Python-2.7.8/3.3.5
Gimp-2.8.14

I use Linux only.
And Virtualbox with Win 7


Top
 Post subject: Re: Compiling Gimp 2.7.2 for Windows
PostPosted: Thu Nov 18, 2010 4:58 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
New problem now, compiler cant seem to find my Perl -- lol
Here we go again. I think now ill switch to a different compiler that see's my Perl/bin/perl path already. =P

_________________
Image


Top
 Post subject: Re: Compiling Gimp 2.7.2 for Windows
PostPosted: Thu Nov 18, 2010 10:28 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
RobA wrote:
Rod wrote:
:yes I have found a way to re-install the latest version of Intltool!
Cross your fingers for a successful compile. :hehe

Though I am almost positive I will need more dependencies...maybe not though.
We shall see soon enough ... :rofl

More to come...



Are you compiling BABL and GEGL too, or did yo find compiled versions of the latest libs? I can only find old ones that 2.7.x won't compile against. :(

-Rob A>


actually i just stole these =P
C:\Program Files\GIMP 2.7\lib and stuffed them in my cygwin/bin/lib folder
babl-0.1
gegl-0.1

Got perl to work by copying the C:\Perl folder to my cygwin/opt/ folder too.
Results:

Compaq_Owner@Family-Room ~
$ cd gimp-2.7.2

Compaq_Owner@Family-Room ~/gimp-2.7.2
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... none
checking dependency style of gcc... none
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for as... as
checking for dlltool... dlltool
checking for objdump... objdump
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r
checking for objdump... (cached) objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|
^x86 DLL
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking dependency style of gcc... none
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for target architecture... i686-pc-cygwin
checking for some Win32 platform... yes
checking for native Win32... no
checking for library containing strerror... none required
checking whether make sets $(MAKE)... (cached) no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether to turn on debugging... no
checking whether to turn on profiling... no
checking whether gcc understands -Wdeclaration-after-statement... yes
checking whether gcc understands -Wmissing-prototypes... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Wmissing-declarations... yes
checking whether gcc understands -Winit-self... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wold-style-definition... yes
checking whether gcc understands -Wmissing-format-attribute... yes
checking whether gcc understands -Wformat-security... yes
checking whether gcc understands -Wformat-non-literal... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/wait.h... (cached) yes
checking for unistd.h... (cached) yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for fsync... yes
checking for difftime... yes
checking for mmap... yes
checking whether binary relocation support should be enabled... no
checking for _NL_MEASUREMENT_MEASUREMENT... no
checking whether NLS is requested... yes
checking for intltool >= 0.40.1... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for iso-codes... no (iso-codes package not found)
checking for BABL... configure: error: Package requirements (babl >= 0.1.2) were
not met:

No package 'babl' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BABL_CFLAGS
and BABL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Compaq_Owner@Family-Room ~/gimp-2.7.2
$

Can i change the version number in the config file to the version i am using?
Will that work you think?

_________________
Image


Top
 Post subject: Re: Compiling Gimp 2.7.2 for Windows
PostPosted: Fri Nov 19, 2010 12:15 am  (#6) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
Well needless to say doing the gegl and babl move didn't work...of course

So i downloaded both sources for babl and gegl and compiled those, got to make and needed cygintl-2.dll "go figure"
So now i am downloading cygwin java4 something or other for gcc because its the only way to get the one 48kb dll file...geesh...lol
Now i know why these guys hate compiling this for windows, but once i have everything i can keep doing it hopefully.
Looks like once i have this special dll file required for make.exe ill be all set with babl and gegl...then im off to try another gimp-2.7.2 compile...hopefully this time i will get to make install.

Cross your fingers again =)

@Rob - i got the babl and gegl versions from here
https://build.opensuse.org/package/show ... w%3Awin32#

ftp://ftp.gimp.org/pub/gegl/0.1/

_________________
Image


Top
 Post subject: Re: Compiling Gimp 2.7.2 for Windows
PostPosted: Fri Nov 19, 2010 3:06 am  (#7) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
BABL successfully compiled, but when i try and compile GEGL i get a nasty i cant find BABL....hrmmmmm
Anyone know where i need to place these babl exe files so GEGL can see them and compile too?
I placed them in the path of the compiler
C:\cygwin\lib
C:\cygwin\dev
C:\cygwin\share

None of these paths seem to work. =\

_________________
Image


Top
 Post subject: Re: Compiling Gimp 2.7.2 for Windows
PostPosted: Fri Nov 19, 2010 9:18 am  (#8) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
I'm about to expose my severe lack of experience, but wouldn't the compiler/linker be looking for a BABL library not an exe?

_________________
Kevin


Top
 Post subject: Re: Compiling Gimp 2.7.2 for Windows
PostPosted: Fri Nov 19, 2010 1:09 pm  (#9) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
When doing the last step remember to add the right flag (soorry i forget which but i remember well the problem )
if not you gimp will remain inside MinGW, sparse in the diffrent program folders (still will somehow work, but will be a pain )

Sorry if i can't help for the actual problem, did you try to ask on the gimp IRC ?

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Compiling Gimp 2.7.2 for Windows
PostPosted: Sat Nov 20, 2010 12:30 am  (#10) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
@Kevin - the BABL LIB files are in that path also. =)

Not yet, i did post something on the registry help forum though.
I tried to alter the PKG_CONFIG_PATH, no go there either.
So i changed the variable in system to BABL_LIBS C:\cygwin\bin\ <-- should i add .libs at the end of this path?
That's where the exe and BABL lib files are (bin).

I'm stuck folks.

Why oh why can't they make a version of babl and gegl available with cygwin update?
Then it would download , set default registry paths, and install itself.
I am pretty sure all i need to do is compile GEGL now and Gimp will compile and make.

@PC - I am using cygwin not MinGW, and msys
I think i'll try those again and see if that makes a difference.

_________________
Image


Top
 Post subject: Re: Compiling Gimp 2.7.2 for Windows
PostPosted: Sat Nov 20, 2010 12:38 am  (#11) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
Here is an image of the BABL i compiled, does this look right PC?

Image

Ignore the babl folder that's shaded at the bottom, i created that myself.

_________________
Image


Top
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group