Meanwhile I switched over to the prebuild package, but get the same
error here.
(configure: error: LZO headers were found but LZO library was not found)

In config.log I see

configure:11102: result: no
configure:11135: checking for lzo/lzo1x.h
configure:11142: result: no
configure:11166: checking lzo1x.h usability
configure:11183: i586-mingw32msvc-gcc -c -g -O2 
-I../lzo-2.02/include/lzo -I. conftest.c >&5
configure:11189: $? = 0
configure:11203: result: yes
configure:11207: checking lzo1x.h presence
configure:11222: i586-mingw32msvc-gcc -E  -I../lzo-2.02/include/lzo -I.
conftest.c
configure:11228: $? = 0
configure:11242: result: yes
configure:11275: checking for lzo1x.h
configure:11282: result: yes
configure:11301: checking for lzo1x_1_15_compress in -llzo
configure:11336: i586-mingw32msvc-gcc -o conftest.exe -g -O2 
-I../lzo-2.02/include/lzo -I.  -L../lzo-2.02 conftest.c -llzo  -lwinmm
-liphlpapi -lcrypt32 -lwininet -lws2_32 -lgdi32  >&5
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld:
cannot find -llzo
collect2: ld returned 1 exit status
configure:11342: $? = 1
configure: failed program was:
| /* confdefs.h.  */

If I set the headerpath from "../lzo-2.03/usr/local/include/lzo" to
"../lzo-2.03/usr/local/include" the configure will find the headers and
libs, so it seems to be a wrong errormessage.

After seting the path to openssl and disable selinux
(./configure --host=i586-mingw32msvc
--with-lzo-headers=../lzo-2.02/include --with-lzo-lib=../lzo-2.02
--with-ssl-headers=../openssl-0.9.8l/include
--with-ssl-lib=../openssl-0.9.8l --disable-selinux)
I can go on with make and run into the next problem:

make  all-recursive
make[1]: Betrete Verzeichnis
'/home/eike/eikedev/openvpn_211/2.1_rc22-prebuilt/openvpn-2.1.1'
Making all in images
make[2]: Betrete Verzeichnis
'/home/eike/eikedev/openvpn_211/2.1_rc22-prebuilt/openvpn-2.1.1/images'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Verlasse Verzeichnis
'/home/eike/eikedev/openvpn_211/2.1_rc22-prebuilt/openvpn-2.1.1/images'
Making all in service-win32
make[2]: Betrete Verzeichnis
'/home/eike/eikedev/openvpn_211/2.1_rc22-prebuilt/openvpn-2.1.1/service-win32'
i586-mingw32msvc-gcc -DHAVE_CONFIG_H -I. -I..  
-I../openssl-0.9.8l/include -I../lzo-2.02/include -I.  -g -O2 -MT
openvpnserv.o -MD -MP -MF .deps/openvpnserv.Tpo -c -o openvpnserv.o
openvpnserv.c
mv -f .deps/openvpnserv.Tpo .deps/openvpnserv.Po
i586-mingw32msvc-gcc -DHAVE_CONFIG_H -I. -I..  
-I../openssl-0.9.8l/include -I../lzo-2.02/include -I.  -g -O2 -MT
service.o -MD -MP -MF .deps/service.Tpo -c -o service.o service.c
mv -f .deps/service.Tpo .deps/service.Po
i586-mingw32msvc-gcc  -g -O2  -L../openssl-0.9.8l -L../lzo-2.02 -o
openvpnserv.exe openvpnserv.o service.o  -lssl32 -leay32 -llzo2 -lwinmm
-liphlpapi -lcrypt32 -lwininet -lws2_32 -lgdi32
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld:
cannot find -lssl32
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [openvpnserv.exe] Fehler 1
make[2]: Verlasse Verzeichnis
'/home/eike/eikedev/openvpn_211/2.1_rc22-prebuilt/openvpn-2.1.1/service-win32'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis
'/home/eike/eikedev/openvpn_211/2.1_rc22-prebuilt/openvpn-2.1.1'
make: *** [all] Fehler 2


p.s.: I made very good experience with visual c++ on windows. lzo,
pkcs-helper, openssl all could be compiled without big problems, but
since openvpn 2.1rc4 the script for visual c++ is missing.

Regrads, Eike




Peter Stuge schrieb:
> Eike Lohmann wrote:
>   
>> checking for lzo1x_1_15_compress in -llzo... no
>> configure: error: LZO headers were found but LZO library was not found
>>     
> ..
>   
>> What exactly is missing and how to build it?
>>     
>
> Look in config.log for the exact error from the configure test.
> It would help to also post it here.
>
>
> //Peter
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Openvpn-devel mailing list
> Openvpn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openvpn-devel
>   

Reply via email to