Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ferret and xgks redux



Hi wade and list members:

I did as Wade suggested, and configure runs okay if in the CUSTOMIZE part I define my OS as darwin, but my compile fails, and it has to do with a posix related file. The exact error I get is:

cc -O -c -I../../port -I../lib -I/usr/X11R6/include/X11 -DOS_darwin -no-cpp-precomp -O2 control.c
In file included from control.fc:50:
../../port/stdlib.h:10: directory `//' specified in #include
In file included from control.fc:54:
../../port/string.h:10: directory `//' specified in #include
make[2]: *** [control.o] Error 1
make[1]: *** [fortran/all] Error 1
make: *** [src/all] Error 1



With the help of the Ferret people, this error isn't directly from the files named, but from a posix related file named udposix.h, The form of this is I believe is actually generated from an m4 macro in the configure process, but the offending lines in the file appear to be the following:


/*
 * Pathnames of system-supplied header files (except for float.h and
 * limits.h):
 */
#define UD_SYSTEM_FLOAT_H	"///usr/include/float.h"
#define UD_SYSTEM_LIMITS_H	"//"
#define UD_SYSTEM_SIGNAL_H	"//"
#define UD_SYSTEM_STDARG_H	"//"
#define UD_SYSTEM_STDDEF_H	"//"
#define UD_SYSTEM_STDLIB_H	"//"
#define UD_SYSTEM_STRING_H	"//"
#define UD_SYSTEM_TIME_H	"///usr/include/time.h"
#define	UD_SYSTEM_SELECT_H	"/dev/null"


I have no idea what /// or // means, or if this makes any sense, but this is where the trouble is.


Most of the Ferret specific code has compiled okay (there are still a few error having to do with not finding header files), but the xgks compile has been my biggest problem.

Anyone who might have some ideas on the solution to this, it would be greatly appreciated.

-Roy M.



Roy,


Copy /usr/libexec/config* to the directory with configure. Then try running configure. If it fails, send the output and maybe someone (perhaps even me) can help.

Wade
On Wednesday, March 13, 2002, at 11:35  AM, Roy Mendelssohn wrote:

I have the source for xgks from the Ferret people.  They use configure
to configure the compiler settings, but also allow you to customize the
configure settings in a file.  Any suggestions here, or just use
configure straight.

Please understand that I am a Fortran programmer and use the Absoft
compiler.  I don't know a hill of beans about what I am doing.  I have
the dev tools and we use Ferret so I am trying to do the port for a lot
of users, but I am admittedly out of my league.

Any help appreciated.

-Roy M.
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.


--
Roy Mendelssohn
Pacific Fisheries Environmental Group
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: email@hidden
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.



References: 
 >Re: Ferret and xgks redux (From: Wade Williams <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.