[Libreoffice] gdk-pixbuf windows build and some perl+pwd+path oddities

Caolán McNamara caolanm at redhat.com
Fri Jun 17 03:40:33 PDT 2011


So for me gdk-pixbuf fails to build under windows, debugging it down I
find that strangely on calling nmake -f makefile.msc in gdk-pixbuf that
the lines $(PERL)... modify the pwd, i.e. with added pwd in there I
get...

        pwd
/cygdrive/f/libo/clone/libs-extern-sys/gdk-pixbuf/wntmsci12.pro/misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf
        C:/cygwin/bin/perl -e 'print "hello world"'
        pwd
/usr/bin

while if I change $(PERL) to just perl I get the expected results...

        pwd
/cygdrive/f/libo/clone/libs-extern-sys/gdk-pixbuf/wntmsci12.pro/misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf
        perl -e 'print "hello world"'
hello world     pwd
/cygdrive/f/libo/clone/libs-extern-sys/gdk-pixbuf/wntmsci12.pro/misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf

where echo $PERL says

c:/cygwin/bin/perl

If I use this patch, all is well. Anyone an idea what the cock might
really be.

C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: windows.perlfoo.patch
Type: text/x-patch
Size: 1193 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110617/3d7b751b/attachment.bin>


More information about the LibreOffice mailing list