Re: [Openvpn-devel] Crosscompile OpenVPN 2.1.1
You should also copy the dlls from the base. On Fri, Jan 22, 2010 at 2:55 PM, Eike Lohmannwrote: > > After compile I copy the openvpn.exe for testing in my existing OpenVPN > installation on my windowsbox, if i try to start it via the openvpngui > it reports: "SSLEAY32.dll is missing" > I tried to compile openssl no-shared but that didn't chaged anything, > what do I have to change ? > > Best regards > > Eike > > Alon Bar-Lev schrieb: >> You should run the build script it will build all including openvpn. >> You can adjust it later to build whatever you need. >> >> On Thu, Jan 21, 2010 at 10:37 AM, Eike Lohmann wrote: >> >>> Hi, what should I try there the openvpn binary or the libs? >>> I am not familiar with openbc. >>> >>> Regards, Eike >>> >>> >>> >>> >>> Alon Bar-Lev schrieb: >>> Ops... http://opensc-project.org/build On 1/20/10, Alon Bar-Lev wrote: > Take my build from http://opensc-project.com/build > > On 1/20/10, Eike Lohmann wrote: > > >> Hello, >> >> I am searching for the best way to compile OpenVPN 2.1.1 for Windows, I >> have tried it on Windows with mingw+msys and on cygwin with the native >> win32 option. Right now I am on Linux using the mingw crosscompiler and >> could compile lzo2-03, openssl-0.9.8l, pkcs11-helper-1.07. >> >> When I try to configure openvpn-2.1.1(./configure >> --host=i586-mingw32msvc >> --with-lzo-headers=../lzo-2.03/usr/local/include/lzo >> --with-lzo-lib=../lzo-2.03/usr/local/lib) it stops everytime at: >> >> configure: checking for LZO Library and Header files... >> checking lzo/lzo1x.h usability... no >> checking lzo/lzo1x.h presence... no >> checking for lzo/lzo1x.h... no >> checking lzo1x.h usability... yes >> checking lzo1x.h presence... yes >> checking for lzo1x.h... yes >> checking for lzo1x_1_15_compress in -llzo... no >> configure: error: LZO headers were found but LZO library was not found >> >> lza installdir: >> openvpn-2.1.1$ ls -la ../lzo-2.03/usr/local/lib >> insgesamt 820 >> drwxr-xr-x 2 4096 2010-01-19 16:55 . >> drwxr-xr-x 4 4096 2010-01-19 16:29 .. >> -rw-r--r-- 1 826766 2010-01-19 16:55 liblzo2.a >> -rwxr-xr-x 1 740 2010-01-19 16:55 liblzo2.la >> >> What exactly is missing and how to build it? >> >> Thanks and best Regards >> >> Eike >> >> -- >> 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 >> >> >> >
Re: [Openvpn-devel] Crosscompile OpenVPN 2.1.1
After compile I copy the openvpn.exe for testing in my existing OpenVPN installation on my windowsbox, if i try to start it via the openvpngui it reports: "SSLEAY32.dll is missing" I tried to compile openssl no-shared but that didn't chaged anything, what do I have to change ? Best regards Eike Alon Bar-Lev schrieb: > You should run the build script it will build all including openvpn. > You can adjust it later to build whatever you need. > > On Thu, Jan 21, 2010 at 10:37 AM, Eike Lohmannwrote: > >> Hi, what should I try there the openvpn binary or the libs? >> I am not familiar with openbc. >> >> Regards, Eike >> >> >> >> >> Alon Bar-Lev schrieb: >> >>> Ops... >>> http://opensc-project.org/build >>> >>> On 1/20/10, Alon Bar-Lev wrote: >>> >>> Take my build from http://opensc-project.com/build On 1/20/10, Eike Lohmann wrote: > Hello, > > I am searching for the best way to compile OpenVPN 2.1.1 for Windows, I > have tried it on Windows with mingw+msys and on cygwin with the native > win32 option. Right now I am on Linux using the mingw crosscompiler and > could compile lzo2-03, openssl-0.9.8l, pkcs11-helper-1.07. > > When I try to configure openvpn-2.1.1(./configure > --host=i586-mingw32msvc > --with-lzo-headers=../lzo-2.03/usr/local/include/lzo > --with-lzo-lib=../lzo-2.03/usr/local/lib) it stops everytime at: > > configure: checking for LZO Library and Header files... > checking lzo/lzo1x.h usability... no > checking lzo/lzo1x.h presence... no > checking for lzo/lzo1x.h... no > checking lzo1x.h usability... yes > checking lzo1x.h presence... yes > checking for lzo1x.h... yes > checking for lzo1x_1_15_compress in -llzo... no > configure: error: LZO headers were found but LZO library was not found > > lza installdir: > openvpn-2.1.1$ ls -la ../lzo-2.03/usr/local/lib > insgesamt 820 > drwxr-xr-x 2 4096 2010-01-19 16:55 . > drwxr-xr-x 4 4096 2010-01-19 16:29 .. > -rw-r--r-- 1 826766 2010-01-19 16:55 liblzo2.a > -rwxr-xr-x 1 740 2010-01-19 16:55 liblzo2.la > > What exactly is missing and how to build it? > > Thanks and best Regards > > Eike > > -- > 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 > > >
Re: [Openvpn-devel] Crosscompile OpenVPN 2.1.1
Hi Alon, thanks, this is the only working way for me. I am compiling with i586-mingw32msvc, where do i get the i686 crosscompiler for Debian or Ubuntu? My gentoo box is ~3 years old, I better don't touch it. :) If I want to set some different options to the buildprocess, do I edit the ./build script or is there another smart way? Thanks, Eike Alon Bar-Lev schrieb: > You should run the build script it will build all including openvpn. > You can adjust it later to build whatever you need. > > On Thu, Jan 21, 2010 at 10:37 AM, Eike Lohmannwrote: > >> Hi, what should I try there the openvpn binary or the libs? >> I am not familiar with openbc. >> >> Regards, Eike >> >> >> >> >> Alon Bar-Lev schrieb: >> >>> Ops... >>> http://opensc-project.org/build >>> >>> On 1/20/10, Alon Bar-Lev wrote: >>> >>> Take my build from http://opensc-project.com/build On 1/20/10, Eike Lohmann wrote: > Hello, > > I am searching for the best way to compile OpenVPN 2.1.1 for Windows, I > have tried it on Windows with mingw+msys and on cygwin with the native > win32 option. Right now I am on Linux using the mingw crosscompiler and > could compile lzo2-03, openssl-0.9.8l, pkcs11-helper-1.07. > > When I try to configure openvpn-2.1.1(./configure > --host=i586-mingw32msvc > --with-lzo-headers=../lzo-2.03/usr/local/include/lzo > --with-lzo-lib=../lzo-2.03/usr/local/lib) it stops everytime at: > > configure: checking for LZO Library and Header files... > checking lzo/lzo1x.h usability... no > checking lzo/lzo1x.h presence... no > checking for lzo/lzo1x.h... no > checking lzo1x.h usability... yes > checking lzo1x.h presence... yes > checking for lzo1x.h... yes > checking for lzo1x_1_15_compress in -llzo... no > configure: error: LZO headers were found but LZO library was not found > > lza installdir: > openvpn-2.1.1$ ls -la ../lzo-2.03/usr/local/lib > insgesamt 820 > drwxr-xr-x 2 4096 2010-01-19 16:55 . > drwxr-xr-x 4 4096 2010-01-19 16:29 .. > -rw-r--r-- 1 826766 2010-01-19 16:55 liblzo2.a > -rwxr-xr-x 1 740 2010-01-19 16:55 liblzo2.la > > What exactly is missing and how to build it? > > Thanks and best Regards > > Eike > > -- > 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 > > >
Re: [Openvpn-devel] Crosscompile OpenVPN 2.1.1
You should run the build script it will build all including openvpn. You can adjust it later to build whatever you need. On Thu, Jan 21, 2010 at 10:37 AM, Eike Lohmannwrote: > > Hi, what should I try there the openvpn binary or the libs? > I am not familiar with openbc. > > Regards, Eike > > > > > Alon Bar-Lev schrieb: > > Ops... > > http://opensc-project.org/build > > > > On 1/20/10, Alon Bar-Lev wrote: > > > >> Take my build from http://opensc-project.com/build > >> > >> On 1/20/10, Eike Lohmann wrote: > >> > >>> Hello, > >>> > >>> I am searching for the best way to compile OpenVPN 2.1.1 for Windows, I > >>> have tried it on Windows with mingw+msys and on cygwin with the native > >>> win32 option. Right now I am on Linux using the mingw crosscompiler and > >>> could compile lzo2-03, openssl-0.9.8l, pkcs11-helper-1.07. > >>> > >>> When I try to configure openvpn-2.1.1(./configure > >>> --host=i586-mingw32msvc > >>> --with-lzo-headers=../lzo-2.03/usr/local/include/lzo > >>> --with-lzo-lib=../lzo-2.03/usr/local/lib) it stops everytime at: > >>> > >>> configure: checking for LZO Library and Header files... > >>> checking lzo/lzo1x.h usability... no > >>> checking lzo/lzo1x.h presence... no > >>> checking for lzo/lzo1x.h... no > >>> checking lzo1x.h usability... yes > >>> checking lzo1x.h presence... yes > >>> checking for lzo1x.h... yes > >>> checking for lzo1x_1_15_compress in -llzo... no > >>> configure: error: LZO headers were found but LZO library was not found > >>> > >>> lza installdir: > >>> openvpn-2.1.1$ ls -la ../lzo-2.03/usr/local/lib > >>> insgesamt 820 > >>> drwxr-xr-x 2 4096 2010-01-19 16:55 . > >>> drwxr-xr-x 4 4096 2010-01-19 16:29 .. > >>> -rw-r--r-- 1 826766 2010-01-19 16:55 liblzo2.a > >>> -rwxr-xr-x 1 740 2010-01-19 16:55 liblzo2.la > >>> > >>> What exactly is missing and how to build it? > >>> > >>> Thanks and best Regards > >>> > >>> Eike > >>> > >>> -- > >>> 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 > >>> > >>>
Re: [Openvpn-devel] Crosscompile OpenVPN 2.1.1
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 >
Re: [Openvpn-devel] Crosscompile OpenVPN 2.1.1
Ops... http://opensc-project.org/build On 1/20/10, Alon Bar-Levwrote: > Take my build from http://opensc-project.com/build > > On 1/20/10, Eike Lohmann wrote: >> >> Hello, >> >> I am searching for the best way to compile OpenVPN 2.1.1 for Windows, I >> have tried it on Windows with mingw+msys and on cygwin with the native >> win32 option. Right now I am on Linux using the mingw crosscompiler and >> could compile lzo2-03, openssl-0.9.8l, pkcs11-helper-1.07. >> >> When I try to configure openvpn-2.1.1(./configure >> --host=i586-mingw32msvc >> --with-lzo-headers=../lzo-2.03/usr/local/include/lzo >> --with-lzo-lib=../lzo-2.03/usr/local/lib) it stops everytime at: >> >> configure: checking for LZO Library and Header files... >> checking lzo/lzo1x.h usability... no >> checking lzo/lzo1x.h presence... no >> checking for lzo/lzo1x.h... no >> checking lzo1x.h usability... yes >> checking lzo1x.h presence... yes >> checking for lzo1x.h... yes >> checking for lzo1x_1_15_compress in -llzo... no >> configure: error: LZO headers were found but LZO library was not found >> >> lza installdir: >> openvpn-2.1.1$ ls -la ../lzo-2.03/usr/local/lib >> insgesamt 820 >> drwxr-xr-x 2 4096 2010-01-19 16:55 . >> drwxr-xr-x 4 4096 2010-01-19 16:29 .. >> -rw-r--r-- 1 826766 2010-01-19 16:55 liblzo2.a >> -rwxr-xr-x 1 740 2010-01-19 16:55 liblzo2.la >> >> What exactly is missing and how to build it? >> >> Thanks and best Regards >> >> Eike >> >> -- >> 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 >> >
Re: [Openvpn-devel] Crosscompile OpenVPN 2.1.1
Take my build from http://opensc-project.com/build On 1/20/10, Eike Lohmannwrote: > > Hello, > > I am searching for the best way to compile OpenVPN 2.1.1 for Windows, I > have tried it on Windows with mingw+msys and on cygwin with the native > win32 option. Right now I am on Linux using the mingw crosscompiler and > could compile lzo2-03, openssl-0.9.8l, pkcs11-helper-1.07. > > When I try to configure openvpn-2.1.1(./configure > --host=i586-mingw32msvc > --with-lzo-headers=../lzo-2.03/usr/local/include/lzo > --with-lzo-lib=../lzo-2.03/usr/local/lib) it stops everytime at: > > configure: checking for LZO Library and Header files... > checking lzo/lzo1x.h usability... no > checking lzo/lzo1x.h presence... no > checking for lzo/lzo1x.h... no > checking lzo1x.h usability... yes > checking lzo1x.h presence... yes > checking for lzo1x.h... yes > checking for lzo1x_1_15_compress in -llzo... no > configure: error: LZO headers were found but LZO library was not found > > lza installdir: > openvpn-2.1.1$ ls -la ../lzo-2.03/usr/local/lib > insgesamt 820 > drwxr-xr-x 2 4096 2010-01-19 16:55 . > drwxr-xr-x 4 4096 2010-01-19 16:29 .. > -rw-r--r-- 1 826766 2010-01-19 16:55 liblzo2.a > -rwxr-xr-x 1 740 2010-01-19 16:55 liblzo2.la > > What exactly is missing and how to build it? > > Thanks and best Regards > > Eike > > -- > 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 >
Re: [Openvpn-devel] Crosscompile OpenVPN 2.1.1
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
[Openvpn-devel] Crosscompile OpenVPN 2.1.1
Hello, I am searching for the best way to compile OpenVPN 2.1.1 for Windows, I have tried it on Windows with mingw+msys and on cygwin with the native win32 option. Right now I am on Linux using the mingw crosscompiler and could compile lzo2-03, openssl-0.9.8l, pkcs11-helper-1.07. When I try to configure openvpn-2.1.1(./configure --host=i586-mingw32msvc --with-lzo-headers=../lzo-2.03/usr/local/include/lzo --with-lzo-lib=../lzo-2.03/usr/local/lib) it stops everytime at: configure: checking for LZO Library and Header files... checking lzo/lzo1x.h usability... no checking lzo/lzo1x.h presence... no checking for lzo/lzo1x.h... no checking lzo1x.h usability... yes checking lzo1x.h presence... yes checking for lzo1x.h... yes checking for lzo1x_1_15_compress in -llzo... no configure: error: LZO headers were found but LZO library was not found lza installdir: openvpn-2.1.1$ ls -la ../lzo-2.03/usr/local/lib insgesamt 820 drwxr-xr-x 2 4096 2010-01-19 16:55 . drwxr-xr-x 4 4096 2010-01-19 16:29 .. -rw-r--r-- 1 826766 2010-01-19 16:55 liblzo2.a -rwxr-xr-x 1 740 2010-01-19 16:55 liblzo2.la What exactly is missing and how to build it? Thanks and best Regards Eike