Problem creating NSIS installer

Instructions and tips on how to roll your own client installer.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
wayout
OpenVpn Newbie
Posts: 2
Joined: Tue Jan 28, 2014 11:16 am

Problem creating NSIS installer

Post by wayout » Tue Jan 28, 2014 2:03 pm

Hi,
I have follow the instructions on https://community.openvpn.net/openvpn/w ... uildsystem for create a personal version of openvpn, but when I do ./build-snapshot I have a problem with an unsatisfied dependency.

Code: Select all

Snappy headers not found.
Snappy library available from http://code.google.com/p/snappy/
configure: error: Or try ./configure --disable-snappy OR ./configure --enable-comp-stub
but libsnappy is installed in my system.

Code: Select all

locate snappy-c.h

/usr/include/snappy-c.h
/usr/include/xulrunner-17.0/snappy/snappy-c.h
what can i do?
can i disable snappy like suggested from the installer? configure: error: Or try ./configure --disable-snappy OR ./configure --enable-comp-stub

wayout
OpenVpn Newbie
Posts: 2
Joined: Tue Jan 28, 2014 11:16 am

Re: Problem creating NSIS installer

Post by wayout » Wed Jan 29, 2014 2:35 pm

today I have try again and think that the team have modify something. Now I build openvpn, but the build process stops at the compilation of openvpn-gui

Code: Select all

proxy.c: In function ‘QueryWindowsProxySettings’:
proxy.c:421:23: error: ‘WINHTTP_AUTO_DETECT_TYPE_DHCP’ undeclared (first use in this function)
proxy.c:421:23: note: each undeclared identifier is reported only once for each function it appears in
proxy.c:421:55: error: ‘WINHTTP_AUTO_DETECT_TYPE_DNS_A’ undeclared (first use in this function)
proxy.c:442:32: error: ‘WINHTTP_AUTOPROXY_CONFIG_URL’ undeclared (first use in this function)
proxy.c:452:21: warning: passing argument 1 of ‘GlobalFree’ discards ‘const’ qualifier from pointer target type [enabled by default]
/usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/winbase.h:1132:29: note: expected ‘HGLOBAL’ but argument is of type ‘LPCWSTR’
proxy.c:453:27: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
proxy.c: In function ‘OnProxy’:
proxy.c:598:5: warning: ISO C does not support the ‘%S’ ms_printf format [-Wformat]
proxy.c:598:5: warning: ISO C does not support the ‘%S’ ms_printf format [-Wformat]
make[1]: *** [proxy.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/passphrase.Tpo .deps/passphrase.Po
mv -f .deps/registry.Tpo .deps/registry.Po
make[1]: Leaving directory `/home/aksvil01/Documenti/Shared/openvpn/openvpn-build/windows-nsis/tmp/build-i686/openvpn-gui-5'
make: *** [install-strip] Error 2
FATAL: make openvpn-gui
FATAL: build i686 >&2
Have you any idea?

Post Reply