Re: compiling gpc on Mac OS 10.10.5 Yosemite

Peter <[email protected]> Mon, 16 Nov 2015 16:12:03 +0000
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
On 28/09/15 21:58, Schneider, Thomas (NIH/NCI) [E] wrote:
> Dear GPCers:
> 
> I recently was forced to upgrade to Yosemite and lost my GPC compiler.
> 
> I tried to compile according to
> 
> * GNU Pascal 3.4.6u4 compiler sources and double-clickable building script (for Mac OS X 10.3 - 10.6) (22.2 MB)
> 
> and got:
> % build-gpc.command
> setenv GPC_BUILD_TOOLS 1
> setenv GPC_BUILD_GP 1
> setenv GPC_BUILD_GPC_SOURCES 1
> setenv GPC_BUILD_GPC_CLEAN 1
> setenv GPC_BUILD_GPC_CONFIGURE 1
> setenv GPC_BUILD_GPC 1
> setenv GPC_BUILD_GPC_DYLIB 1
> setenv GPC_BUILD_GPC_CLEAN_CROSS 1
> setenv GPC_BUILD_GPC_CONFIGURE_CROSS 1
> setenv GPC_BUILD_GPC_CROSS 1
> setenv GPC_BUILD_GPC_DYLIB_CROSS 1
> setenv GPC_BUILD_GPC_DOCS 1
> setenv GPC_BUILD_TESTSUITE 0
> setenv GPC_BUILD_PACKAGE 0
> setenv GPC_BISON bison-2.3
> setenv GPC_FLEX flex-2.5.35
> setenv GPC_HELP2MAN help2man-1.36.4
> setenv GPC_SED sed-4.1.4
> setenv GPC_GCC 3.4.6
> setenv GPC_GCC_DIFF gcc-3.4.4.diff
> setenv GPC_SNAPSHOT gpc-20070904
> setenv GPC_PDF gpc-20070904.pdf
> setenv GPC_RELEASE 346u4
> setenv GPC_PACKAGE 3.4.6u4
> setenv GPC_FPSAVE fpsave-20051224
> setenv GPC_GP gp-0.61
> setenv GPC_DIR /Developer/Pascal
> setenv GPC_GPC gpc346u4
> setenv GPC_DYLIB 346u4
> setenv GPC_CONTACT -- Please contact Adriaan van Os at <[email protected]>
> setenv GPC_OSX_VERSION `uname -r`
> uname -r
> switch ( 14.5.0 )
> unset echo
> 
> Unforeseen version of Mac OS X. -- Please contact Adriaan van Os at <[email protected]>
> 
> -----
> 
> Adriaan has not responded for several days.
> 
> I don't see how to get a binary.
> 
> Has anyone migrated to 10.10.5?  How do I do this?
> 
> Thanks,
> 
> Tom Schneider
> 
>   Thomas D. Schneider, Ph.D.
>   Senior Investigator
>   National Institutes of Health
>   National Cancer Institute
>   Center for Cancer Research
>   Gene Regulation and Chromosome Biology Laboratory
>   Molecular Information Theory Group
>   Frederick, Maryland  21702-1201
>   [email protected]
>   http://schneider.ncifcrf.gov (current link)
>   http://alum.mit.edu/www/toms (permanent link)
> 
> _______________________________________________
> Gpc mailing list
> [email protected]
> https://www.g-n-u.de/mailman/listinfo/gpc
> 



Hi Tom,

I don't own, or have access to a Mac, so cannot help directly.

The build error you reported;

....
setenv GPC_OSX_VERSION `uname -r`
uname -r
switch ( 14.5.0 )
unset echo

Unforeseen version of Mac OS X


suggests to me that the build is aborting because the version of OS X in
use is 'Unforeseen'. That does not in itself imply that it could not
work. Have you tried just hacking out this check?  Maybe force “setenv
GPC_OSX_VERSION” to be a version the script is happy with instead of
using “uname -r”.

It might be worth asking for assistance on a Mac forum. The number of
Mac users that can handle scripts, is probably much higher than the
number of GPC users that are familiar with OS X.


Regards,
Peter






_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc