[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile problem under windows
From: |
Simon Josefsson |
Subject: |
Re: Compile problem under windows |
Date: |
Fri, 31 Aug 2007 11:34:46 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Saro Engels <address@hidden> writes:
> Simon Josefsson schrieb:
>> Sure. Can you send the output from running ./configure + make in a
>> freshly extracted directory?
> Ok this error was mainly due to my bad set up system - I changed it now.
> But there are still some errors that remain(libidn-make.log):
Hi. The build seems to go fine for a while, but fails in the lib/
directory. This part looks strange:
> mingw32-make[3]: Entering directory `C:/msys_new/home/paddy/libidn-1.0/lib'
> C:/msys_new/bin/sh.exe ../libtool --tag=CC --mode=compile gcc
> -DLOCALEDIR=\"D:\cygopt\kde-utils/share/locale\" -DHAVE_CONFIG_H -I. -I..
> -I./gl -Igl -ID:\cygopt\kde-utils/include -g -O2 -MT nfkc.lo -MD -MP -MF
> .deps/nfkc.Tpo -c -o nfkc.lo nfkc.c
> Xnfkc.Tpo -c -o nfkc.lo nfkc.lo
> libtool: compile: libobj name `nfkc.Tpo -c -o nfkc.lo nfkc.lo' may not
> contain shell special characters.
> rm: invalid option -- c
> Try `rm --help' for more information.
> mkdir .libs
> gcc "-DLOCALEDIR=\\D:\\cygopt\\kde-utils/share/locale\" -DHAVE_CONFIG_H -I.
> -I.. -I./gl -Igl -ID:\\cygopt\\kde-utils/include -g -O2 -MT nfkc.lo -MD -MP
> -MF .deps/nfkc.Tpo -c -o nfkc.lo nfkc.c" -DDLL_EXPORT -DPIC -o
> .libs/nfkc.Tpo -c -o nfkc.lo nfkc.o
> gcc.exe: nfkc.o: No such file or directory
> gcc.exe: no input files
> mingw32-make[3]: *** [nfkc.lo] Error 1
> mingw32-make[3]: Leaving directory `C:/msys_new/home/paddy/libidn-1.0/lib'
> mingw32-make[2]: *** [all] Error 2
> mingw32-make[2]: Leaving directory `C:/msys_new/home/paddy/libidn-1.0/lib'
> mingw32-make[1]: *** [all-recursive] Error 1
> mingw32-make[1]: Leaving directory `C:/msys_new/home/paddy/libidn-1.0'
> mingw32-make: *** [all] Error 2
The LOCALEDIR may be the confusing part. Maybe it doesn't like the \ in
the paths. Could you try running ./configure with:
./configure --with-libiconv-prefix=D:/cygopt/kde-utils
--with-libintl-prefix=D:/cygopt/kde-utils --prefix=D:/cygopt/kde-utils
rather than:
./configure --with-libiconv-prefix=D:\\cygopt\\kde-utils
--with-libintl-prefix=D:\\cygopt\\kde-utils --prefix=D:\\cygopt\\kde-utils
alternatively if it doesn't work, something like
'/mingdrive/d/cygopt/kde-utils'. The '/mingdrive' part may be off, but
I recall that there is some virtual path in mingw that goes to a
directory of DOS drives.
/Simon