[vlc] compiling vlc on solaris

Ollie Eisman ollie at predict.com
Wed Sep 1 00:28:58 CEST 2004


I just compiled VLC on solaris and had to modify two Makefiles to get it 
to work.

I am using gcc 3.0.3

I unpacked the source to:
/usr/local/src/videolan/vlc-0.7.2

I noticed, during gmake at the all-modules part, that both audio_filter 
and gui modules would fail with an error that "`;' was unexpected."

The Makefile for each contains:

all-modules:
         @set fnord $$MAKEFLAGS; amf=$$2; targets=`\
         if test "$(plugin)" != "no"; then z=$$($(VLC_CONFIG) --target 
plugin); for mod in ; do case "$$z" in */lib$${mod}_plugin*) echo 
lib$${mod}_plugin$(LIBEXT);; esac; done; fi; \
         if test "$(builtin)" != "no"; then z=$$($(VLC_CONFIG) --target 
builtin); for mod in ; do case "$$z" in */lib$${mod}.a*) echo 
lib$${mod}.a;; esac; done; fi; \
         if test "$(pic)" != "no"; then z=$$($(VLC_CONFIG) --target 
builtin pic); for mod in ; do case "$$z" in */lib$${mod}_pic.a*) echo 
lib$${mod}_pic.a;; esac; done; fi; \


To get it to work, I touched a file called dummy.c in each directory and 
modified the code so that each of the above lines now contains the word 
"dummy":

...for mod in dummy ; do case...

That seemed to fix it.

Perhaps there is a better way to deal with this.

Thanks,
Ollie


-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list