Unable to build the jpeg port under Leopard
Ryan Schmidt
ryandesign at macports.org
Sun Nov 18 20:05:21 PST 2007
On Nov 18, 2007, at 20:20, Dan Makovec wrote:
> I can't get jpeg port to build under 10.5. Any ideas what's wrong
> here?
Leopard is being problematic for many ports, and jpeg 6b is 9 years
old, so maybe it needs some help.
Still, I found this post which seems to indicate that jpeg 6b can be
build on Leopard without too much trouble.
http://onrails.org/articles/2007/11/03/installing-rmagick-on-leopard-
without-macports-or-fink
They just replaced the libtool. So you could try this:
cd `port dir jpeg`
sudo port clean --work
sudo port extract
cd work/jpeg-6b
sudo ln -s /usr/bin/glibtool ./libtool
cd ../..
sudo port install
See if that works. If it does, we can update the portfile to do this
automatically.
> Brand new iMac with Leopard, and a brand new MacPorts install, only
> installed minutes before attempting the following:
>
> bash-3.2# port version
> Version: 1.520
> bash-3.2# port clean jpeg
> ---> Cleaning jpeg
> bash-3.2# port install jpeg
> ---> Fetching jpeg
> ---> Verifying checksum(s) for jpeg
> ---> Extracting jpeg
> ---> Applying patches to jpeg
> ---> Configuring jpeg
> ---> Building jpeg with target all
> Error: Target org.macports.build returned: shell command " cd "/opt/
> local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_jpeg/work/jpeg-6b" && make all " returned error 2
> Command output: _parse_switches in cjpeg.o
> "_jpeg_set_defaults", referenced from:
> _main in cjpeg.o
> "_jpeg_set_colorspace", referenced from:
> _parse_switches in cjpeg.o
> "_jpeg_stdio_dest", referenced from:
> _main in cjpeg.o
> "_jpeg_add_quant_table", referenced from:
> _read_quant_tables in rdswitch.o
> "_jpeg_simple_progression", referenced from:
> _parse_switches in cjpeg.o
> "_jpeg_default_colorspace", referenced from:
> _main in cjpeg.o
> "_jpeg_finish_compress", referenced from:
> _main in cjpeg.o
> "_jpeg_std_error", referenced from:
> _main in cjpeg.o
> "_jpeg_start_compress", referenced from:
> _main in cjpeg.o
> "_jpeg_write_scanlines", referenced from:
> _main in cjpeg.o
> "_jpeg_set_quality", referenced from:
> _parse_switches in cjpeg.o
> "_jpeg_destroy_compress", referenced from:
> _main in cjpeg.o
> "_jpeg_CreateCompress", referenced from:
> _main in cjpeg.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [cjpeg] Error 1
>
> Error: Status 1 encountered during processing.
More information about the macports-users
mailing list