R: [Gimp-developer] Error compiling gimp 2.3.3 with mingw on winxp

2005-09-14 Thread Paolo Magnoli
Hi, I've put up a file with that line only in it and tried to compile it, I
got the same error:
$ gcc -o include_unistd include_unistd.c
In file included from /mingw/include/unistd.h:13,
 from
/mingw/lib/gcc/mingw32/3.4.2/../../../../include/unistd.h:13,
 from
d:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/unistd.h:13,
 from include_unistd.c:1:
/mingw/include/unistd.h:13:27: no include path in which to search for
unistd.h

Regards

-Messaggio originale-
Da: Tor Lillqvist [mailto:[EMAIL PROTECTED]
Inviato: mercoledi 14 settembre 2005 15.18
A: Paolo Magnoli
Cc: gimp-developer@lists.xcf.berkeley.edu
Oggetto: [Gimp-developer] Error compiling gimp 2.3.3 with mingw on winxp


Paolo Magnoli writes:
 > /mingw/include/unistd.h:13:27: no include path in which to search for
 > unistd.h

Huh? That's a very odd message. What happens if you compile a trivial
source file that just contains the line "#include "?

--tml


___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


R: [Gimp-developer] Error compiling gimp 2.3.3 with mingw on winxp

2005-09-14 Thread Tor Lillqvist
Paolo Magnoli writes:
 > Hi, I've put up a file with that line only in it and tried to compile it, I
 > got the same error:
 > /mingw/include/unistd.h:13:27: no include path in which to search for
 > unistd.h

There must be something broken in your mingw installation. I have
never seen that message myself, but some googling leads me to believe
it is related to the #include_next directive? Does your unistd.h (the
file d:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/unistd.h,
i.e. d:/mingw/include/unistd.h) on line 13 have an #include_next
directive? (That's funny, as I too have gcc 3.4.2, but my unistd.h
does not contain any #include_next.)

If you can't find any other solution, my suggestion is removing all of
mingw and re-install...

--tml

___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: R: [Gimp-developer] Error compiling gimp 2.3.3 with mingw on winxp

2005-09-15 Thread pmagnoli
Hi, thanks for your help, I commented out the #include_next thing in
d:/mingw/include/unistd.h (don't know if it is the right way ...) and it
compiled fine with:
./configure --disable-print --disable-python --prefix=/d/gimp233

Now, do you know how to make it print in windows?
Also is python scripting supported on windows?
Best regards

paolo



>There must be something broken in your mingw installation. I have
>never seen that message myself, but some googling leads me to believe
>it is related to the #include_next directive? Does your unistd.h (the
>file >d:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/unistd.h,
>i.e. d:/mingw/include/unistd.h) on line 13 have an #include_next
>directive? (That's funny, as I too have gcc 3.4.2, but my unistd.h
>does not contain any #include_next.)
>
>If you can't find any other solution, my suggestion is removing all of
>mingw and re-install...
>
>--tml


___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: R: [Gimp-developer] Error compiling gimp 2.3.3 with mingw on winxp

2005-09-15 Thread michael chang
On 9/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi, thanks for your help, I commented out the #include_next thing in
> d:/mingw/include/unistd.h (don't know if it is the right way ...) and it
> compiled fine with:
> ./configure --disable-print --disable-python --prefix=/d/gimp233
> 
> Now, do you know how to make it print in windows?

You have to be able to compile the files that are compiled when
./configure is run with --enable-print.  I believe Gutenprint may
help; but I'm not sure (not even close).

> Also is python scripting supported on windows?

AFAIK, It's doable, although it will be easier (afaik, meaning that it
might be in the binaries) in the final 2.4 release -- try checking the
archives (a success with gimp 2.3.3 + win + python is there
somewhere).

-- 
~Mike
 - Just my two cents
 - No man is an island, and no man is unable.
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer