Solaris Port Problems for vlc

Eric Bautsch ericbautsch at yahoo.com
Fri Jul 13 12:05:46 CEST 2001


After a longish while, I'm trying vlc again.

This is my configuration:
Solaris 2.8 running on a Pentium MMX Laptop (Yes, I know it's a tad bit old,
but it does the trick for my work... I've got faster stuff at home).
I'm using gcc version 2.95.2 19991024 (release).

I started off by downloading version vlc-0.2.80.
I configure with:
./configure  --prefix=/opt/EABvlc-0.2.80 --disable-mmx --disable-gtk
--disable-xvideo --x-includes=/opt/local/include --x-libraries=/opt/local/lib
--without-sdl

Reasons for the options:
 - without --disable-mmx I cannot compile, but I don't class that as a major
   problem as I ultimately want to run the stuff at home
 - gtk and sdl don't seem to work for some reason or the other, for the time
   being I figured X11 support although slower should be easier to achive.
 - a lot of the non-solaris stuff on my laptop resides in /opt/local, so I 
   want/need those dirs included.

The configure and compile runs fine. (I moved the X11 from PLUGINS to BUILTINS)

During install (using ./install.sh) I still (reported this back in March)
have the problem that the options to install.sh are wrong:
        $(INSTALL) -m 644 $(PLUGINS:%=lib/%.so)
$(DESTDIR)$(libdir)/videolan/vlc
on line 194 in the Makefile will only install the first file matching lib/*.so
and NOT all of them.
The same is true for the following three lines (197-199):
        $(INSTALL) -m 644 share/*.psf $(DESTDIR)$(datadir)/videolan
        $(INSTALL) -m 644 share/*.png $(DESTDIR)$(datadir)/videolan
        $(INSTALL) -m 644 share/*.xpm $(DESTDIR)$(datadir)/videolan

Fixed this by manually copying the relevant files.

When running vlc I get the following:
bautsche at jupiter > which vlc
/opt/EABvlc-0.2.80/bin/vlc
bautsche at jupiter > vlc ~/sw/presentation_short.vob
VideoLAN Client - version 0.2.80 Ourumov - (C)1996-2001 VideoLAN

intf: ignoring signal 14
X Error of failed request:  BadAccess (attempt to access private resource
denied)
  Major opcode of failed request:  131 (MIT-SHM)
  Minor opcode of failed request:  1 (X_ShmAttach)
  Serial number of failed request:  23
  Current serial number in output stream:  25
bautsche at jupiter > 

The video display window comes up before the error, but not the control window.
Then I get the error and the display window dies.


I then proceeded to download the latest snapshot: vlc-snapshot-20010713-00
(I don't have cvs access from here.)

I configured with:
./configure --prefix=/opt/EABvlc-snapshot-20010713-00 --disable-mmx
--disable-gtk --disable-xvideo --x-includes=/opt/local/include
--x-libraries=/opt/local/lib --without-sdl

Again I moved the x11 from PLUGINS to BUILTINS.

make comes up with the following error:
bautsche at jupiter > make
rm -f src/misc/modules_builtin.h && cp src/misc/modules_builtin.h.in
src/misc/modules_builtin.h
for i in es ps ts yuv idct idctclassic motion imdct downmix dvd dummy null rc
x11 ; do \
        echo "int module_"$i"_InitModule( module_t* );" >>
src/misc/modules_builtin.h ; \
        echo "int module_"$i"_ActivateModule( module_t* );" >>
src/misc/modules_builtin.h ; \
        echo "int module_"$i"_DeactivateModule( module_t* );" >>
src/misc/modules_builtin.h ; \
done
echo "" >> src/misc/modules_builtin.h ;
printf "#define ALLOCATE_ALL_BUILTINS() do { " >> src/misc/modules_builtin.h ;
for i in es ps ts yuv idct idctclassic motion imdct downmix dvd dummy null rc
x11 ; do \
        printf "ALLOCATE_BUILTIN("$i"); " >> src/misc/modules_builtin.h ; \
done
echo "} while( 0 );" >> src/misc/modules_builtin.h ;
echo "" >> src/misc/modules_builtin.h ;
regenerating dependencies for src/interface/main.c
gcc  -DSYS_SOLARIS2_8   -Iinclude -Iextras -I/usr/local/include -Wall -Winline
-D_REENTRANT -D_GNU_SOURCE -O3 -ffast-math -funroll-loops -fomit-frame-pointer
-march=pentium -mcpu=pentium -c -o src/interface/main.o src/interface/main.c
Assembler: main.c
        "/var/tmp/ccqDV2kC.s", line 4915 : Illegal mnemonic
        "/var/tmp/ccqDV2kC.s", line 4915 : Syntax error
        "/var/tmp/ccqDV2kC.s", line 4916 : Illegal mnemonic
        "/var/tmp/ccqDV2kC.s", line 4916 : Syntax error
make: *** [src/interface/main.o] Error 1
bautsche at jupiter > 

I checked the differences between src/interface/main.c in the snapshot and in
version 0.2.80, but found the differences to be too many for me to figure
out what the problem might be (I'm not a C programmer).
I replaced the src/interface/main.c from my snapshot with the one from
version 0.2.80.
make now runs through.
make install comes up with the following:
bautsche at jupiter > make install
cd extras/libdvdcss && make install
make[1]: Entering directory
`/usr2/jupiter/bautsche/tivo/vlc/vlc-snapshot-20010713-00/extras/libdvdcss'
mkdir -p /opt/EABvlc-snapshot-20010713-00/include/videolan
./install-sh -c -m 644 videolan/dvdcss.h
/opt/EABvlc-snapshot-20010713-00/include/videolan
make[1]: ./install-sh: Command not found
make[1]: *** [install] Error 127
make[1]: Leaving directory
`/usr2/jupiter/bautsche/tivo/vlc/vlc-snapshot-20010713-00/extras/libdvdcss'
make: *** [libdvdcss-install] Error 2
bautsche at jupiter > 

that's because there is no install.sh in extras/libdvdcss. I linked one in.
Again I had to manually copy the relevant files after the follwing three lines
failed to produce the desired result:
./install-sh -c -m 644 share/*.psf
/opt/EABvlc-snapshot-20010713-00/share/videolan
./install-sh -c -m 644 share/*.png
/opt/EABvlc-snapshot-20010713-00/share/videolan
./install-sh -c -m 644 share/*.xpm
/opt/EABvlc-snapshot-20010713-00/share/videolan

I still get the X Error:

bautsche at jupiter > /opt/EABvlc-snapshot-20010713-00/bin/vlc
sw/presentation_short.vob
VideoLAN Client - version snapshot-20010713-00 Ourumov - (C)1996-2001 VideoLAN

intf: ignoring signal 14
rc: pos: 1 s / 10 s
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  89 (X_StoreColors)
  Value in failed request:  0x2a0
  Serial number of failed request:  25
  Current serial number in output stream:  27
bautsche at jupiter > 

Please let me know if you have any suggestions to try out on this to fix the
problem.

Thanks a lot.
Ciao,
Eric


=====
--

      ____
     /          .                           Eric A. Bautsch
    /--   __       ___                ______________________________________
   /     /    /   /                  /
  (_____/____(___(__________________/       email: eric.bautsch at pobox.com

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




More information about the vlc mailing list