Page 1 of 1

compile problem about 1.1.0

Posted: 23 Jun 2010 12:04
by Jeremiah
env: cygwin
source: vlc-1.1.0.tar.gz
contrib: contrib-20100616-win32-bin-gcc-4.4.4-runtime-3.17-only.tar.bz2
script:

Code: Select all

PATH=/usr/win32/bin:$PATH \ PKG_CONFIG_LIBDIR=/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 \ --host=i686-pc-mingw32 \ --enable-nls --enable-sdl \ --enable-avcodec --enable-avformat --enable-swscale \ --enable-faad --enable-flac --enable-theora \ --enable-freetype \ --enable-fribidi \ --disable-fluidsynth \ --enable-live555 --with-live555-tree=/usr/win32/live.com \ --enable-caca \ --with-dvdnav-config-path=/usr/win32/bin \ --disable-vcdx --enable-goom \ --enable-twolame --enable-dvdread \ --enable-debug --enable-dca \ --disable-mkv --disable-taglib --disable-projectm \ --disable-zvbi --disable-schroedinger --disable-dirac\ --enable-mozilla --with-mozilla-sdk-path=/usr/win32/gecko-sdk
problems:

Code: Select all

make[2]: Entering directory `/home/jeremiah/vlc-1.1.0/share' for f in skins2/default/theme.xml skins2/default/subX/about.png skins2/default/s ubX/eq.png skins2/default/subX/font.otf skins2/default/subX/main.png skins2/defa ult/subX/playtreeglyphs.png skins2/default/subX/pl.png skins2/default/subX/sysbu ttons.png skins2/default/subX/vol_anim.png skins2/default/subX/vol_slider.png ne wres.h resource.h vlc_wince_rc.rc vlc_beos.rsrc skins2/fonts/FreeSans.ttf skins2 /fonts/FreeSansBold.ttf skins2/skin.dtd skins2/skin.catalog skins2/winamp2.xml h ttp/.hosts http/dialogs/.hosts http/dialogs/browse http/dialogs/footer http/dial ogs/input http/dialogs/main http/dialogs/mosaic http/dialogs/playlist http/dialo gs/sout http/dialogs/vlm http/favicon.ico http/images/delete.png http/images/del ete_small.png http/images/eject.png http/images/empty.png http/images/fullscreen .png http/images/help.png http/images/info.png http/images/loop.png http/images/ minus.png http/images/next.png http/images/pause.png http/images/play.png http/i mages/playlist.png http/images/playlist_small.png http/images/plus.png http/imag es/prev.png http/images/refresh.png http/images/repeat.png http/images/sd.png ht tp/images/shuffle.png http/images/slider_bar.png http/images/slider_left.png htt p/images/slider_point.png http/images/slider_right.png http/images/snapshot.png http/images/slow.png http/images/sort.png http/images/sout.png http/images/speak er.png http/images/speaker_mute.png http/images/stop.png http/images/vlc16x16.pn g http/images/volume_down.png http/images/volume_up.png http/images/white.png ht tp/images/white_cross_small.png http/index.html http/js/functions.js http/js/mos aic.js http/js/vlm.js http/mosaic.html http/requests/browse.xml http/requests/pl aylist.xml http/requests/status.xml http/requests/vlm.xml http/requests/vlm_cmd. xml http/requests/readme http/style.css http/iehacks.css http/vlm.html http/vlm_ export.html http/flash.html lua/http/.hosts lua/http/dialogs/.hosts lua/http/dia logs/browse lua/http/dialogs/footer lua/http/dialogs/input lua/http/dialogs/main lua/http/dialogs/mosaic lua/http/dialogs/playlist lua/http/dialogs/sout lua/htt p/dialogs/vlm lua/http/favicon.ico lua/http/images/delete.png lua/http/images/de lete_small.png lua/http/images/eject.png lua/http/images/empty.png lua/http/imag es/fullscreen.png lua/http/images/help.png lua/http/images/info.png lua/http/ima ges/loop.png lua/http/images/minus.png lua/http/images/next.png lua/http/images/ pause.png lua/http/images/play.png lua/http/images/playlist.png lua/http/images/ playlist_small.png lua/http/images/plus.png lua/http/images/prev.png lua/http/im ages/refresh.png lua/http/images/repeat.png lua/http/images/reset.png lua/http/i mages/sd.png lua/http/images/shuffle.png lua/http/images/slider_bar.png lua/http /images/slider_left.png lua/http/images/slider_point.png lua/http/images/slider_ right.png lua/http/images/snapshot.png lua/http/images/slow.png lua/http/images/ sort.png lua/http/images/sout.png lua/http/images/speaker.png lua/http/images/sp eaker_mute.png lua/http/images/stop.png lua/http/images/vlc16x16.png lua/http/im ages/volume_down.png lua/http/images/volume_up.png lua/http/images/white.png lua /http/images/white_cross_small.png lua/http/index.html lua/http/js/functions.js lua/http/js/mosaic.js lua/http/js/vlm.js lua/http/mosaic.html lua/http/requests/ browse.xml lua/http/requests/playlist.xml lua/http/requests/status.xml lua/http/ requests/vlm.xml lua/http/requests/vlm_cmd.xml lua/http/requests/readme lua/http /style.css lua/http/iehacks.css lua/http/vlm.html lua/http/vlm_export.html lua/h ttp/flash.html osdmenu/default.cfg osdmenu/default/unselected.png osdmenu/defau lt/selection/bw.png osdmenu/default/selection/esc.png osdmenu/default/selection/ fw.png osdmenu/default/selection/volume.png osdmenu/default/selection/next.png o sdmenu/default/selection/play_pause.png osdmenu/default/selection/previous.png o sdmenu/default/selection/stop.png osdmenu/default/selected/bw.png osdmenu/defaul t/selected/next.png osdmenu/default/selected/play_pause.png osdmenu/default/sele cted/fw.png osdmenu/default/selected/stop.png osdmenu/default/selected/previous. png osdmenu/default/selected/esc.png osdmenu/default/selected/volume.png osdmenu /default/volume/volume_00.png osdmenu/default/volume/volume_01.png osdmenu/defau lt/volume/volume_02.png osdmenu/default/volume/volume_03.png osdmenu/default/vol ume/volume_04.png osdmenu/default/volume/volume_05.png osdmenu/default/volume/vo lume_06.png osdmenu/default/volume/volume_07.png osdmenu/default/volume/volume_0 8.png osdmenu/default/volume/volume_09.png osdmenu/default/volume/volume_10.png mozilla/fullscreen.xpm mozilla/pause.xpm mozilla/play.xpm mozilla/skip_next.xpm mozilla/skip_previous.xpm mozilla/stop.xpm mozilla/time_icon.xpm mozilla/time_li ne.xpm mozilla/volume_knob.xpm mozilla/volume_max.xpm mozilla/volume_mute.xpm mo zilla/volume_slider_bar.xpm maemo/vlc_intf.rc maemo/vlc_left_tab_active.png maem o/vlc_left_tab_passive.png maemo/playlist.png maemo/play.png maemo/pause.png mae mo/stop.png maemo/previous.png maemo/next.png solid/vlc-opencda.desktop solid/vl c-opendvd.desktop solid/vlc-openvcd.desktop lua/README.txt lua/extensions/README .txt lua/extensions/allocine-fr.lua lua/intf/README.txt lua/intf/dummy.lua lua/i ntf/dumpmeta.lua lua/intf/hotkeys.lua lua/intf/http.lua lua/intf/luac.lua lua/in tf/modules/common.lua lua/intf/modules/host.lua lua/intf/rc.lua lua/intf/telnet. lua lua/meta/art/README.txt lua/meta/art/01_musicbrainz.lua lua/meta/art/02_fren chtv.lua lua/meta/art/03_lastfm.lua lua/meta/art/10_googleimage.lua lua/meta/fet cher/README.txt lua/meta/fetcher/tvrage.lua lua/meta/reader/README.txt lua/meta/ reader/filename.lua lua/modules/sandbox.lua lua/modules/simplexml.lua lua/playli st/README.txt lua/playlist/anevia_streams.lua lua/playlist/anevia_xml.lua lua/pl aylist/appletrailers.lua lua/playlist/bbc_co_uk.lua lua/playlist/break.lua lua/p laylist/canalplus.lua lua/playlist/cue.lua lua/playlist/dailymotion.lua lua/play list/france2.lua lua/playlist/googlevideo.lua lua/playlist/jamendo.lua lua/playl ist/joox.lua lua/playlist/katsomo.lua lua/playlist/koreus.lua lua/playlist/lelom brik.lua lua/playlist/megavideo.lua lua/playlist/metacafe.lua lua/playlist/mpora .lua lua/playlist/pinkbike.lua lua/playlist/rockbox_fm_presets.lua lua/playlist/ vimeo.lua lua/playlist/youtube.lua lua/playlist/youtube_homepage.lua lua/sd/READ ME.txt lua/sd/fmc.lua lua/sd/freebox.lua lua/sd/icecast.lua lua/sd/jamendo.lua l ua/intf/http.lua lua/http/custom.lua; do \ test "." = . || f="./$f"; \ if test $f = lua/extensions/allocine-fr.lua; then \ exit 0; \ fi; \ done; \ echo "Attempt to byte-compile unknown file: lua/extensions/allocine-fr.l ua!"; \ exit 1 mkdir -p "$(dirname 'lua/extensions/allocine-fr.luac')" false -o lua/extensions/allocine-fr.luac lua/extensions/allocine-fr.lua make[2]: *** [lua/extensions/allocine-fr.luac] Error 1 make[2]: Leaving directory `/home/jeremiah/vlc-1.1.0/share' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jeremiah/vlc-1.1.0' make: *** [all] Error 2
it's about lua and luac? what's the matter?

Re: compile problem about 1.1.0

Posted: 23 Jun 2010 13:41
by Jean-Baptiste Kempf
You need lua installed and luac.exe in your path.

Re: compile problem about 1.1.0

Posted: 24 Jun 2010 13:02
by Jeremiah
thanks j-b. but it doesnot work.

i tried two different ways.

1. download lua-5.1.4.tar.gz and change gcc to gcc -mno-cygwin in src/Makefile and
do ./configure && make && make install. in cygwin it can realize luac.exe

Code: Select all

$ luac d:\cygwin_new\usr\local\bin\luac.exe: no input files given usage: d:\cygwin_new\usr\local\bin\luac.exe [options] [filenames]. Available options are: - process stdin -l list -o name output to file 'name' (default is "luac.out") -p parse only -s strip debug information -v show version information -- stop handling options
2. install LuaForWindows_v5.1.4-39.exe and set the Path to the installed file path.

Code: Select all

C:\Documents and Settings\jeremiah>luac luac: no input files given usage: luac [options] [filenames]. Available options are: - process stdin -l list -o name output to file 'name' (default is "luac.out") -p parse only -s strip debug information -v show version information -- stop handling options
but the problem is still here. so how to solove it ?

Re: compile problem about 1.1.0

Posted: 24 Jun 2010 18:13
by Jean-Baptiste Kempf
Did you reconfigure?

Re: compile problem about 1.1.0

Posted: 25 Jun 2010 03:37
by Jeremiah
Did you reconfigure?
reconfigure is all okay.
thanks j-b.

Re: compile problem about 1.1.0

Posted: 25 Jun 2010 14:02
by Jean-Baptiste Kempf
Cool.