Hello again,
I've finally found the error. I've noticed that the compiler was linking
the pcre libraries from /home/swish/win32 which is not a valid path for
me, so I've changed the reference in the Makefile file to my correct
paths, but I still got errors. Then I've noticed that the path for
pcre-config was right configured ( before I changed the Makefile file )
so I've take a look to pcre-config and then I found the problem: the
prefix was statically set at /home/swish/win32. I've changed this to my
correct path and the errors dissapeared.
I post this one if someone has the same problem later on.
Ander.
David L Norris wrote:
> On Thu, 2006-04-27 at 04:34 -0700, Ander wrote:
>
>> Hi everybody,
>>
>> I'm trying to cross-compile swish-e for windows on ubuntu following the
>> instructions in http://swishewiki.org/index.php/Win32#Building
>> but I'm having errors that abort the make operation. First, it says that
>> it can't find regex.h library and stops. If I copy that library in the
>> src folder, the compilation goes ahead but also fails some time after.
>> The error now is something related to regexp too. Does anyone know
>> what's going on?
>>
>
> It looks like you're not running ./configure with the correct options.
>
> Look at src/win32/build.sh to see how you need to configure.
> Specifically, you must point --with-pcre, --with-libxml2, --with-zlib
> each to the location where you have installed native Win32 versions of
> those programs. You'd need to configure something like this:
>
> HA=i586-mingw32msvc
> BA=i686-linux
> ./configure --prefix=${PWD}/../prefix \
> --cache-file=config.cross.cache \
> --disable-docs \
> --host=${HA} \
> --target=${HA} \
> --build=${BA} \
> --with-libxml2=$PWD/../libxml2 \
> --with-zlib=$PWD/../zlib \
> --with-pcre=$PWD/../pcre \
> --enable-shared
>
> Those directories would look something like this:
> $ ls -1 ../pcre/ ../zlib ../libxml2
> ../libxml2:
> bin
> include
> lib
> readme.txt
> util
>
> ../pcre/:
> bin
> include
> lib
> man
>
> ../zlib:
> bin
> include
> lib
>
>
___________________________________________________________________________________________
Lortu posta elektronikoa doan >> http://www.euskalerria.org
Received on Fri Apr 28 05:01:01 2006