> On Jan 9, 2015, at 1:34 AM, Narek Sahakyan <na.sahak...@gmail.com> wrote:
> 
> Hello,
> I'm trying to install Free Pascal compiler (2.6.4-2) on MAC OS X Yosemite 
> 10.10.1, with the command
> $ sudo fink install fcp
> 
> But I get the following error:
> <<
> Error: Invalid value for MACOSX_DEPLOYMENT_TARGET environment variable: 10.10
> system.pp(57,1) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> make[7]: *** [system.ppu] Error 1
> make[6]: *** [darwin_all] Error 2
> make[5]: *** [rtl] Error 2
> make[4]: *** [next] Error 2
> make[3]: *** [ppc1] Error 2
> make[2]: *** [cycle] Error 2
> make[1]: *** [compiler_cycle] Error 2
> make: *** [build-stamp.x86_64-darwin] Error 2
> ### execution of /tmp/fink.I_Kb4 failed, exit code 2
> ### execution of /tmp/fink.Vy7Tg failed, exit code 2
> >>
> 
> Please help me to resolve this problem.
> Thanks in advance.
> Narek
> 
> P.S. The system information is:
> 
> Package manager version: 0.38.3
> Distribution version: selfupdate-rsync Thu Jan  8 22:41:20 2015, 10.10, x86_64
> Trees: local/main stable/main stable/crypto
> Xcode.app: 6.1.1
> Xcode command-line tools: 6.1.1.0.1.1416017670
> Max. Fink build jobs:  1
> 

I’m seeing the same thing.  It looks like the upstream build setup predates 
10.10.  I added

# Yosemite fix
  if [ "$(uname -r | cut -d. -f1)" -ge 14 ]; then export 
MACOSX_DEPLOYMENT_TARGET=10.9 ; fi

at the beginning of both the CompileScript and InstallScript blocks and the 
package built for me—though I can’t guarantee that it actually _works_ properly.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to