Re: [AD] Problems with MacOSX port

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2004-12-23, Grzegorz Adam Hankiewicz <gradha@xxxxxxxxxx> wrote:
> I've got my hands on an eMac, and tried building Allegro for MacOs X. 
> I checked out the CVS and followed the macos.txt instructions. During
> the build process, it failed due to lack of a specific directory:
> 
> gcc\ -DALLEGRO_LIB_BUILD\ -Wall\ -Wno-unused\ -Wno-long-double\ \ -O2\
> -funroll-loops\ -ffast-math\ -fomit-frame-pointer\ -fno-common\ -pipe\
> -dynamic\ -DALLEGRO_USE_C\ -I.\ -I./include\ -o\
> obj/macosx/alleg/macosx/fixbundle.o\ -c\ tools/macosx/fixbundle.c\
> {standard\ input}:unknown:FATAL:can\'t\ create\ output\ file:\
> obj/macosx/alleg/macosx/fixbundle.o\
> make:\ \*\*\*\ \[obj/macosx/alleg/macosx/fixbundle.o\]\ Error\ 1\
> 
> After creating this directory, it fails generation of datedit because
> obj/macosx/plugins.h doesn't exist. I touch this file and everything
> proceeds correctly.

Just after adding the emtpy subdirectory to CVS I realised this might
have been a problem with a CVS checkout. Indeed, running make depend
fixes both of these problems. So I commited this patch instead:

Index: macosx._tx
===================================================================
RCS file: /cvsroot/alleg/allegro/docs/src/build/macosx._tx,v
retrieving revision 1.4
diff -u -p -r1.4 macosx._tx
--- macosx._tx  27 May 2005 07:02:46 -0000      1.4
+++ macosx._tx  5 Jun 2005 11:35:28 -0000
@@ -58,6 +58,11 @@ Installing Allegro
       chmod +x fix.sh
       ./fix.sh macosx
 <endblock>
+   If you have checked out a development version from Allegro's CVS
+   repository, run the following command. Otherwise, skip this step:
+<textblock>
+      make depend
+<endblock>
    Now Allegro is ready to be compiled. Start building it:
 <textblock>
       make





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/