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:
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.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
Thanks in advance for any suggestions!
+ Reply to Thread
Results 1 to 7 of 7
-
-
you may want to check Paul Hagstrom's pathway to compiling mjpegtools
http://www.bu.edu/linguistics/UG/hagstrom/vcd.html -
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
-
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. -
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.
-
Originally Posted by druas
-
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. :)
Similar Threads
-
What program to use? Compile 4 mini dvds into one
By ulremember in forum Authoring (VCD/SVCD)Replies: 2Last Post: 25th May 2010, 15:55 -
ffmpeg Patch - Compile Request
By Ruler2112 in forum Video ConversionReplies: 5Last Post: 14th Oct 2009, 01:39 -
How to compile libmatroska and libebml
By Maikeru-sama in forum ProgrammingReplies: 1Last Post: 23rd Jun 2008, 20:59 -
Anyone know how to compile this program?
By Milardo in forum LinuxReplies: 5Last Post: 21st Jun 2008, 00:10 -
Noob here, Compile Dvd problem!
By dbgt in forum Authoring (DVD)Replies: 3Last Post: 8th May 2008, 18:08