[MPlayer-cygwin] MinGW compile-problem invd_lcl.c,missingdefi nition of 'Z_NO/BEST_COMPRESSION'

Stefan Gürtler Stefan.guertler at stud.tum.de
Tue Dec 16 20:08:29 CET 2003




> > Right away:
> > This is done without zlib being installed yet!
> > Downloaded latest cvs into new directory and added libavcodec from
13.12.03.
> > ./configure --prefix=/opt/mplayer-031216
> >  ...
> > Config files successfully generated by ./configure !
> >
> >   Install prefix: /optmplayer-031216
> >   Data directory: /optmplayer-031216/share/mplayer
> >   Config direct.: /optmplayer-031216/etc/mplayer
>
> Does anyone else notice this? He gave it '/opt/mplayer' but instead it
gives back '/optmplayer' - doesn't anyone see a problem there? I personally
don't get that error here, either, but I don't use --prefix.

Ah, come one. I typed the first line into the mail, and the other is copy
and past from the shell. So i actually used
./configure --prefix=/optmplayer-031216 in the shell (instead of
/opt/mplayer-031213, typ mistake). So what?
As the erorr output clearly states, the Makefile fails to link manpage
mplayer.1 to manpage mencoder.1 though both are being located in folder
'prefix'/man/man1/ using the same 'prefix'.

> > ln: creating symbolic link `/optmplayer-031216/man/man1/mencoder.1' to
>> `mplayer.1': No such file or directory

and

> > for i in en; do \
> >         if test "$i" = en ; then \
> >                 install -c -m 644 DOCS/man/en/mplayer.1
> > /optmplayer-031216/man/man1/mplayer.1 ; \
> >         else \
> >                 mkdir -p /optmplayer-031216/man/$i/man1 ; \
> >                 install -c -m 644 DOCS/man/$i/mplayer.1
> > /optmplayer-031216/man/$i/man1/mplayer.1 ; \

makes

'/optmplayer-031216/man/man1/mplayer.1'     and
'/optmplayer-031216/man/man1/mencoder.1'

I only know the basics of bash-prgramming. But still let's have a look at
the Makefile:
There it says:

if test ! -d $(MANDIR)/man1 ; then mkdir -p $(MANDIR)/man1; fi
 for i in $(LANGUAGES); do \
  if test "$$i" = en ; then \
   $(INSTALL) -c -m 644 DOCS/man/en/mplayer.1 $(MANDIR)/man1/mplayer.1 ; \
---------------------------------------------------------
/* install DOCS/man/en/mplayer.1 to $(MANDIR)/man1/mplayer.1 */
---------------------------------------------------------
  else \
   mkdir -p $(MANDIR)/$$i/man1 ; \
   $(INSTALL) -c -m 644 DOCS/man/$$i/mplayer.1 $(MANDIR)/$$i/man1/mplayer.1
; \
  fi ; \
 done
ifeq ($(MENCODER),yes)
 $(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER)
 for i in $(LANGUAGES); do \
  if test "$$i" = en ; then \
   ln -sf mplayer.1 $(MANDIR)/man1/mencoder.1 ; \
  else \
   ln -sf mplayer.1 $(MANDIR)/$$i/man1/mencoder.1 ; \
---------------------------------------------------------------------
/*I saw no cd, so i assume we are still in the main-directory of the sources
(where i issued the command make install).
Now it says link (main/)mplayer.1 to $(MANDIR)/man1/mencoder.1.
Unfortunately mplayer.1 is in $(MANDIR)/man1/ */
----------------------------------------------------------------------
  fi ; \
 done


>
> >
> >   Byte order: Little Endian
> >   Optimizing for: pentium3 mmx mmx2 sse mtrr
> >
> >   Languages:
> >     Messages/GUI: en
> >     Manual pages: en (no localization selected, use --language=all)
> >
> >   Enabled optional drivers:
> >     Input: ftp network edl tv mpdvdkit2
> >     Codecs: flac(internal) libavcodec faad2(internal) libvorbis
> >     Audio output: win32 mpegpes(file)
> >     Video output: directx mpegpes(file) opengl tga
> >   Disabled optional drivers:
> >     Input: tv-v4l2 tv-v4l tv-bsdbt848 live.com matroska cdda dvdread vcd
smb
> >     Codecs: qtx opendivx xvid libdv real xanim dshow/dmo win32 libtheora
> > libmad liblzo gif
> >     Audio output: sgi sun alsa esd arts oss dxr2 nas sdl macosx
> >     Video output: xvidix winvidix cvidix bl zr zr2 dxr3 dxr2 sdl vesa
gif89a
> > jpeg png fbdev svga aa ggi xmga mga dga xvmc xv x11 directfb tdfx_vid
tdfxfb
> > 3dfx
> > ...
> >
> > make && make install
> >
> > All OK, only that stupid error message concerning the mencoder-manpage
> > again.
> > I will edit the Makefile again and comment the commands that try to link
> > mencoder-manpages to the mplayer-manpages. Somebody seams to be pleased
to
> > add this problematic lines to the Makefile over and over again :)
> > (At least i encountered this problem, its disappearance and
re-appearance
> > regularely since pre0.9)
> >
> > Stefan at J5U7R1 ~/main
> > $ make install
> > if test ! -d /optmplayer-031216/bin ; then mkdir -p
/optmplayer-031216/bin ;
> > fi
> > install -m 755 -s mplayer /optmplayer-031216/bin/mplayer
> > if test ! -d /optmplayer-031216/man/man1 ; then mkdir -p
> > /optmplayer-031216/man/man1; fi
> > for i in en; do \
> >         if test "$i" = en ; then \
> >                 install -c -m 644 DOCS/man/en/mplayer.1
> > /optmplayer-031216/man/man1/mplayer.1 ; \
> >         else \
> >                 mkdir -p /optmplayer-031216/man/$i/man1 ; \
> >                 install -c -m 644 DOCS/man/$i/mplayer.1
> > /optmplayer-031216/man/$i/man1/mplayer.1 ; \
> >         fi ; \
> > done
> > install -m 755 -s mencoder /optmplayer-031216/bin/mencoder
> > for i in en; do \
> >         if test "$i" = en ; then \
> >                 ln -sf mplayer.1 /optmplayer-031216/man/man1/mencoder.1
; \
> >         else \
> >                 ln -sf mplayer.1
/optmplayer-031216/man/$i/man1/mencoder.1 ;
> > \
> >         fi ; \
> > done
> > ln: creating symbolic link `/optmplayer-031216/man/man1/mencoder.1' to
> > `mplayer.1': No such file or directory
> > make: *** [install] Error 1
> >
>
> Looks like this would be caused by whatever screws up $PREFIX above...
Happy hunting...
>

But if you still doubt me, dear Mr. cynical Sycotic Smith , here a copy and
paste fresh form the shell, all in one command and with the full outpot of
the warnings and errors. Without redirecting the standart output to
/dev/null  the attachment would have become even longer.

Yours
Stefan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mencoder.1_link_problem.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cygwin/attachments/20031216/7b4a5304/attachment.txt>


More information about the MPlayer-cygwin mailing list