Page 1 of 1

make package-win32 error

Posted: 12 Sep 2006 04:05
by BrainLai
Dear all:

I build vlc-0.8.5 on Windows XP under Cygwin.
Everything works fine except that error occurs when I make package-win32 as following:

Code: Select all

Section: "Mozilla plugin" ->(SEC03) SectionIn: [1] [2] !insertmacro: OpenUninstallLog FileOpen: $INSTDIR\uninstall.log as w -> $UninstallLog FileSeek: fp=$UninstallLog, ofs=0, mode=END, output= !insertmacro: end of OpenUninstallLog !insertmacro: InstallFolder File: Returning to: "." File: "mozilla" -> no files found. Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] | /oname=outfile one_file_only) Error in macro InstallFolder on macroline 1 Error in script "./vlc-0.8.5/vlc.win32.nsi" on line 420 -- aborting creation process make: *** [package-win32-base-exe] Error 1
I have firefox on my system. Should I install mozilla, too? Or it is an abnormal condition?

BTW, make package-win32-base is OK.

Reguards
Brain Lai

Posted: 12 Sep 2006 09:34
by Jean-Baptiste Kempf
Can you paste here your ./configure line ?

Posted: 13 Sep 2006 09:16
by BrainLai
Dear Sir:

Here is my configure line:

Code: Select all

./bootstrap && \ PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \ CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \ LDFLAGS=-L/usr/win32/lib \ CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \ ./configure \ --disable-gtk \ --enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \ --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \ --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \ --with-wx-config-path=/usr/win32/bin \ --with-freetype-config-path=/usr/win32/bin \ --with-fribidi-config-path=/usr/win32/bin \ --enable-activex \ --enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com \ --enable-caca --with-caca-config-path=/usr/win32/bin \ --with-xml2-config-path=/usr/win32/bin \ --with-dvdnav-config-path=/usr/win32/bin \ --disable-cddax --disable-vcdx --enable-goom \ --enable-twolame --enable-dvdread \ --enable-debug
[/code]

Temporary solution to this problem

Posted: 18 Sep 2006 09:01
by BrainLai
After several tials, I found it is due to the configure options --enable-mozilla --with-mozilla-sdk-path=/usr/win32/gecko-sdk not enabled in my configure line which is the default!

The annoying problem disappears after the options are added. This may not the truely cause if someone succeed to make package-win32 without these options enabled. If yes, it seems that the documents are not up to update for a long while. :?

Brain Lai