VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. This is a bit off topic, but I thought that maybe someone here had seen this before. I'm trying to use the SVCD on MacOS X system that relies upon some Unix command line software. The problem is that I keep getting compiling errors that I don't recognize. For example, when trying to use Fink to install mjpegtools, I get this:

    Code:
    [~] jaime% /sw/bin/fink install mjpegtools
    sudo /sw/bin/fink 'install' 'mjpegtools'
    Password:
    Reading package info...
    Information about 231 packages read.
    The following 7 additional packages will be installed:
     dlcompat glib libmovtar libpng quicktime4linux sdl zlib
    Do you want to continue? [Y/n] y
    rm -rf dlcompat-20010831-1
    mkdir -p /sw/src/dlcompat-20010831-1
    gzip -dc /sw/src/dlcompat-20010831.tar.gz | tar -xf -
    make prefix=/sw
    cc -Wall -O2 -DDEBUG=0 -fno-common -o dlopen.o -c dlopen.c
    ar cru libdl.a dlopen.o
    ranlib libdl.a
    cc -dynamiclib -o libdl.dylib dlopen.o -install_name /sw/lib/libdl.dylib
    /usr/bin/libtool: object: /usr/lib/libSystem.dylib malformed object (unknown load command 6)
    make: *** [libdl.dylib] Error 1
    ### make failed, exit code 2
    Failed: compiling dlcompat-20010831-1 failed
    Any ideas? As far as I can tell, I've installed the Developers' Toolkit correctly. MacOS X 10.1.2 and the Developers' Toolkit was installed from the CD-ROM that came with the MacOS X 10.0.0 CDs.

    Thanks in advance for any suggestions!
    Quote Quote  
  2. you may want to check Paul Hagstrom's pathway to compiling mjpegtools
    http://www.bu.edu/linguistics/UG/hagstrom/vcd.html
    Quote Quote  
  3. That is where I started. It lead me to try the mjpegtools system in the first place. But, if I follow the steps to the letter, I still get this:

    Code:
    [~] jaime% /sw/bin/fink install zlib
    sudo /sw/bin/fink 'install' 'zlib'
    Reading package info...
    Information about 231 packages read.
    rm -rf zlib-1.1.3-5
    mkdir -p /sw/src/zlib-1.1.3-5
    gzip -dc /sw/src/zlib-1.1.3.tar.gz | tar -xf -
    patch -p1 </sw/fink/dists/stable/main/finkinfo/libs/zlib-1.1.3-5.patch
    patching file Makefile.in
    patching file configure
    patching file zconf.h
    ./configure --shared --prefix=/sw
    Checking for gcc...
    Checking for shared library support...
    No shared library suppport.
    Building static library libz.a version 1.1.3 with cc.
    Checking for unistd.h... Yes.
    Checking for errno.h...  Yes.
    Checking for mmap support... Yes.
    make
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o example.o example.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o adler32.o adler32.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o compress.o compress.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o crc32.o crc32.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o gzio.o gzio.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o uncompr.o uncompr.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o deflate.o deflate.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o trees.o trees.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o zutil.o zutil.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o inflate.o inflate.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o infblock.o infblock.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o inftrees.o inftrees.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o infcodes.o infcodes.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o infutil.o infutil.c
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -I/sw/include  -c -o inffast.o inffast.c
    ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o 
    cc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -o example example.o -L. -lz
    /usr/bin/ld: /usr/lib/libz.dylib load command 7 unknown cmd field
    /usr/bin/ld: /usr/lib/libSystem.dylib load command 6 unknown cmd field
    make: *** [example] Error 1
    ### make failed, exit code 2
    Failed: compiling zlib-1.1.3-5 failed
    Any thoughts?
    Quote Quote  
  4. I have compiled everything without any problems. When you say 'follow to the letter., I assume you downloaded the .info and .patch files from Paul's webpage and put them in the right places so that fink compiles everything correctly.

    I used 10.1.2 and a newer developer cd version (the one that came with 10.1?)

    On my g4@500MHz it takes 2 fps for MPEG-2 conversion. Pretty lame if you ask me, but still better than Cleaners' non-compliant output.
    Quote Quote  
  5. Where did you find your Developers Tools installer? Mine was the CD with the 10.0 installer. If there is a newer version, that might be my problem. This is actually what I suspected all along, too.
    Quote Quote  
  6. Originally Posted by druas
    Where did you find your Developers Tools installer? Mine was the CD with the 10.0 installer. If there is a newer version, that might be my problem. This is actually what I suspected all along, too.
    two days ago I downloaded the newest version (Dec '01) from Apple Developer Connection
    Quote Quote  
  7. I registered, downloaded the kit, and installed the kit. I've already seen an improvement, as zlib comiled correctly this time. I've started the other compiles and they're running in the background as I type. Thanks for the advise. :)
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!