New to mac/macports. Trouble installing playerstage.

Ryan Schmidt ryandesign at macports.org
Thu Feb 26 18:47:33 PST 2009


On Feb 26, 2009, at 07:23, sudarshan22 at gmail.com wrote:


>> Given the "-arch i386 -arch ppc" in your output, you are building a
>> universal binary of playerstage-player. Have you already built a
>> universal binary of jpeg? If you have jpeg installed but it's not
>> universal, you need to rebuild it universal:
>>
>> sudo port -nf upgrade jpeg +universal
>
> I tried what you suggested. jpeg library was already installed. So  
> I assumed that I would need to upgrade it. I input the command that  
> you gave and it gave me the following error:
>
> --->  Fetching jpeg
> --->  Verifying checksum(s) for jpeg
> --->  Extracting jpeg
> --->  Applying patches to jpeg
> --->  Configuring jpeg
> --->  Building jpeg
> 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:   "_jpeg_set_defaults", referenced from:
>       _main in cjpeg.o
>   "_jpeg_set_colorspace", referenced from:
>       _parse_switches in cjpeg.o

[snip]

So sorry. That may be this bug:

http://trac.macports.org/ticket/16411

It says you can't build a universal jpeg while a non-universal jpeg  
is active. So in that case you have to work around it this way:

sudo port deactivate jpeg
sudo port clean jpeg
sudo port install jpeg +universal


P.S: Use Reply All so your reply goes to the list too, not just to me.




More information about the macports-users mailing list