Opened 15 years ago

Closed 15 years ago

#21304 closed defect (fixed)

allegro build error

Reported by: harbour.01@… Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ih-mon@…, nerdling (Jeremy Lavergne)
Port: allegro

Description (last modified by tobypeterson)

[ tested on Snow Leopard + XCode 3.2 ]

[local/bin] > install allegro     
--->  Computing dependencies for allegro
--->  Fetching allegro
--->  Attempting to fetch allegro-4.2.2.tar.gz from http://mesh.dl.sourceforge.net/alleg
--->  Verifying checksum(s) for allegro
--->  Extracting allegro
--->  Applying patches to allegro
--->  Configuring allegro
--->  Building allegro
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_allegro/work/allegro-4.2.2" && /usr/bin/make -j2 PREFIX=/opt/local " returned error 2
Command output: Compiling Allegro for MacOS X, optimised. Please wait...
/usr/bin/gcc-4.2 -DALLEGRO_SRC -DALLEGRO_LIB_BUILD  -Wall -Wno-unused -Wno-long-double  -O2 -funroll-loops -ffast-math -fomit-frame-pointer -fno-common -pipe -dynamic -DALLEGRO_NO_ASM -I. -I./include -o obj/macosx/alleg/allegro.o -c src/allegro.c
/usr/bin/gcc-4.2 -DALLEGRO_SRC -DALLEGRO_LIB_BUILD  -Wall -Wno-unused -Wno-long-double  -O2 -funroll-loops -ffast-math -fomit-frame-pointer -fno-common -pipe -dynamic -DALLEGRO_NO_ASM -I. -I./include -o obj/macosx/alleg/blit.o -c src/blit.c
cc1: error: unrecognized command line option "-Wno-long-double"
cc1: error: unrecognized command line option "-Wno-long-double"
make: *** [obj/macosx/alleg/allegro.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [obj/macosx/alleg/blit.o] Error 1

Attachments (1)

allegro.patch (3.8 KB) - added by nerdling (Jeremy Lavergne) 15 years ago.
successful build and install of 4.9.15

Download all attachments as: .zip

Change History (11)

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)

comment:2 Changed 15 years ago by tobypeterson

Owner: changed from macports-tickets@… to raimue@…

Committed r57458 to make it get further. It's using QuickDraw though, so it's still not going to build.

comment:3 Changed 15 years ago by tobypeterson

Port: allegro added
Version: 1.8.0

comment:4 Changed 15 years ago by harbour.01@…

Thank you very much for the prompt reaction and fix.

comment:5 Changed 15 years ago by tobypeterson

Hah... did you even read my comment?

Anyway, it looks like the latest unstable release (4.9.13) does not contain any QuickDraw code, so it might have a better chance of building.

comment:6 Changed 15 years ago by harbour.01@…

Of course I read it, but this fix is a step towards having it working (confirmed by your latest comment), which for me is perfectly good. I don't promptly need allegro, it's just one of the dependencies of our FOSS project, having it is a plus.

Thanks again.

comment:7 Changed 15 years ago by ih-mon@…

Cc: ih-mon@… added

Cc Me!

Changed 15 years ago by nerdling (Jeremy Lavergne)

Attachment: allegro.patch added

successful build and install of 4.9.15

comment:8 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

comment:9 Changed 15 years ago by raimue (Rainer Müller)

Status: newassigned

comment:10 Changed 15 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: assignedclosed

Fixed with upstream release 4.2.3.1 in r60111.

Note: See TracTickets for help on using tickets.