comp.lang.ada
 help / color / mirror / Atom feed
* Problem building AWS on Mac OS 10.9
@ 2014-10-11 23:00 Laurent
  2014-10-12  2:03 ` David Botton
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Laurent @ 2014-10-11 23:00 UTC (permalink / raw)


Hi

I wanted to try out Gnoga which sounds exactly like what I need.

Gnoga requires AWS so I downloaded it with: git clone --recursive http://forge.open-do.org/anonscm/git/aws/aws.git

Then as written in the Gnoga FAQ:

export C_INCLUDE_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include

Then make setup build install.

Fails with this:

laurent-mac-pro-2:aws laurent$ make setup build install
gprbuild: "xoscons" up to date
Setup OS specific definitions
aws-os_lib-tmplt.c:341:24: error: invalid operand for inline asm constraint 'i'
/*NOGEN*/ asm volatile("\n->CND:%0:" "AI_ADDR_OFFSET" ":%1:" "???" : : "...
                       ^
aws-os_lib-tmplt.c:340:24: error: invalid operand for inline asm constraint 'i'
/*NOGEN*/ asm volatile("\n->CND:%0:" "AI_CANONNAME_OFFSET" ":%1:" "???" ...
                       ^
aws-os_lib-tmplt.c:339:24: error: invalid operand for inline asm constraint 'i'
/*NOGEN*/ asm volatile("\n->CND:%0:" "AI_FAMILY_OFFSET" ":%1:" "???" : ...
                       ^
aws-os_lib-tmplt.c:338:24: error: invalid operand for inline asm constraint 'i'
/*NOGEN*/ asm volatile("\n->CND:%0:" "AI_FLAGS_OFFSET" ":%1:" "???" : : ...
                       ^
aws-os_lib-tmplt.c:319:24: error: invalid operand for inline asm constraint 'i'
/*NOGEN*/ asm volatile("\n->CND:%0:" "SIN_FAMILY_OFFSET" ":%1:" "sin_fam...
                       ^
5 errors generated.
xoscons <base_name>
Can not generate system tags. The test are disabled
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcefhiIklmnoprstx -O2 -gnatn -fno-common awsres.adb
clang -O2 zutil.c
clang -O2 uncompr.c
clang -O2 trees.c
clang -O2 inftrees.c
clang -O2 inflate.c
clang -O2 inffast.c
clang -O2 infback.c
Undefined symbols for architecture x86_64:
  "_inflate", referenced from:
      _uncompress in uncompr-ecad33.o
  "_inflateEnd", referenced from:
      _uncompress in uncompr-ecad33.o
  "_inflateInit_", referenced from:
      _uncompress in uncompr-ecad33.o
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
  "_inflate_fast", referenced from:
      _inflateBack in infback-54aa95.o
  "_inflate_table", referenced from:
      _inflateBack in infback-54aa95.o
  "_main", referenced from:
     implicit entry/start for main executable
  "_zcalloc", referenced from:
      _inflateBackInit_ in infback-54aa95.o
  "_zcfree", referenced from:
      _inflateBackInit_ in infback-54aa95.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
  "_adler32", referenced from:
      _inflate in inflate-db7af7.o
      _inflateSetDictionary in inflate-db7af7.o
  "_crc32", referenced from:
      _inflate in inflate-db7af7.o
  "_inflate_fast", referenced from:
      _inflate in inflate-db7af7.o
  "_inflate_table", referenced from:
      _inflate in inflate-db7af7.o
  "_main", referenced from:
     implicit entry/start for main executable
  "_zcalloc", referenced from:
      _inflateInit2_ in inflate-db7af7.o
      _inflateInit_ in inflate-db7af7.o
  "_zcfree", referenced from:
      _inflateInit2_ in inflate-db7af7.o
      _inflateInit_ in inflate-db7af7.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
awsres.adb:44:06: file "aws-os_lib.ads" not found
awsres.adb:44:06: "Awsres (body)" depends on "Aws.Utils (body)"
awsres.adb:44:06: "Aws.Utils (body)" depends on "Aws.Os_Lib (spec)"
aws-utils.adb:821:29: "OS_Lib" is not visible
aws-utils.adb:821:29: non-visible declaration at g-os_lib.ads:51

   compilation of awsres.adb failed
   compilation of infback.c failed
   compilation of inffast.c failed
   compilation of inflate.c failed
   compilation of inftrees.c failed
   compilation of trees.c failed
   compilation of uncompr.c failed
   compilation of zutil.c failed

gprbuild: *** compilation phase failed
make: *** [build-native] Error 4

Tried the was source from libre.adacore but the result is the same.
I am too much a noob to understand what is going on. So if someone could enlighten me what I have forgotten to do or send me a compiled version of AWS for MacOS I would be very happy.

Thanks

Laurent


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Problem building AWS on Mac OS 10.9
  2014-10-11 23:00 Problem building AWS on Mac OS 10.9 Laurent
@ 2014-10-12  2:03 ` David Botton
  2014-10-12 16:01   ` Laurent
  2014-10-12  9:22 ` Simon Wright
  2014-10-13 20:06 ` Blady
  2 siblings, 1 reply; 12+ messages in thread
From: David Botton @ 2014-10-12  2:03 UTC (permalink / raw)


What version of GNAT did you install? Is it on the command line before other versions?

Using both GNAT-FSF and GNAT-GPL 2014, I've had no issues building AWS from the website or the repo.

If you figure on your own what is wrong, please also post the solution.

David Botton

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Problem building AWS on Mac OS 10.9
  2014-10-11 23:00 Problem building AWS on Mac OS 10.9 Laurent
  2014-10-12  2:03 ` David Botton
@ 2014-10-12  9:22 ` Simon Wright
  2014-10-13 20:06 ` Blady
  2 siblings, 0 replies; 12+ messages in thread
From: Simon Wright @ 2014-10-12  9:22 UTC (permalink / raw)


Laurent <daemon2@internet.lu> writes:

> Fails with this:

Is GNAT's gcc first on your PATH? or do you use something like my gnatfe
which fakes up gnatgcc to go to GNAT's gcc while leaving gcc pointing to
the system one?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Problem building AWS on Mac OS 10.9
  2014-10-12  2:03 ` David Botton
@ 2014-10-12 16:01   ` Laurent
  2014-10-13 19:53     ` Laurent
  2014-10-13 20:04     ` Pascal Obry
  0 siblings, 2 replies; 12+ messages in thread
From: Laurent @ 2014-10-12 16:01 UTC (permalink / raw)


Am Sonntag, 12. Oktober 2014 04:03:22 UTC+2 schrieb David Botton:
> What version of GNAT did you install?
GNAT GPL 2014

> Is it on the command line before other versions?
Now it is.

laurent-mac-pro-2:aws laurent$ which make
/usr/bin/make

laurent-mac-pro-2:aws laurent$ which gcc
/usr/local/gnat/bin/gcc

so make setup build install fails with something different:

laurent-mac-pro-2:aws laurent$ make setup build install
make[1]: x86_64-apple-darwin13.4.0-gcc: Command not found
gprbuild: "xoscons" up to date
Setup OS specific definitions
/bin/sh: x86_64-apple-darwin13.4.0-gcc: command not found
/bin/sh: x86_64-apple-darwin13.4.0-gcc: command not found
xoscons <base_name>
make[1]: x86_64-apple-darwin13.4.0-gcc: Command not found
Can not generate system tags. The test are disabled
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcefhiIklmnoprstx -O2 -gnatn -fno-common awsres.adb
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcefhiIklmnoprstx -O2 -gnatn -fno-common soap-generator.adb
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcefhiIklmnoprstx -O2 -gnatn -fno-common aws-jabber-client.adb
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcefhiIklmnoprstx -O2 -gnatn -fno-common aws-client-xml-input_sources.adb
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcefhiIklmnoprstx -g -gnata -gnatVa -gnatQ -gnato -gnatwe -gnatyO -Wall -gnatVn templates_parser.adb
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcefhiIklmnoprstx -O2 -gnatn -fno-common templates_parser-utils.adb
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcefhiIklmnoprstx -O2 -gnatn -fno-common templates_parser-query.adb
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcefhiIklmnoprstx -O2 -gnatn -fno-common templates_parser-debug.adb
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcefhiIklmnoprstx -O2 -gnatn -fno-common aws-status-translate_table.adb
awsres.adb:44:06: file "aws-os_lib.ads" not found
awsres.adb:44:06: "Awsres (body)" depends on "Aws.Utils (body)"
awsres.adb:44:06: "Aws.Utils (body)" depends on "Aws.Os_Lib (spec)"
aws-utils.adb:821:29: "OS_Lib" is not visible
aws-utils.adb:821:29: non-visible declaration at g-os_lib.ads:51
aws-jabber-client.adb:37:19: warning: license of withed unit "Input_Sources.Strings" may be inconsistent
aws-jabber-client.adb:38:09: warning: license of withed unit "Sax.Attributes" may be inconsistent
aws-jabber-client.adb:39:09: warning: license of withed unit "Sax.Readers" may be inconsistent
aws-jabber-client.adb:40:17: warning: license of withed unit "Unicode.CES.Basic_8bit" may be inconsistent
aws-jabber-client.adb:46:24: file "aws-os_lib.ads" not found
aws-jabber-client.adb:46:24: "AWS.JABBER.CLIENT (body)" depends on "AWS.CONFIG (body)"
aws-jabber-client.adb:46:24: "AWS.CONFIG (body)" depends on "AWS.OS_LIB (spec)"
aws-config.adb:210:26: "OS_Lib" is undefined (more references follow)
aws-client-xml-input_sources.adb:30:13: warning: license of withed unit "Unicode.CCS" may be inconsistent
aws-client-xml-input_sources.adb:31:17: warning: license of withed unit "Unicode.CES.Utf32" may be inconsistent
aws-client-xml-input_sources.adb:32:17: warning: license of withed unit "Unicode.CES.Utf16" may be inconsistent
aws-client-xml-input_sources.adb:33:17: warning: license of withed unit "Unicode.CES.Utf8" may be inconsistent
aws-client-xml-input_sources.ads:30:06: warning: license of withed unit "Input_Sources" may be inconsistent
aws-client-xml-input_sources.ads:31:13: warning: license of withed unit "Unicode.CES" may be inconsistent
soap-generator-stub.adb:30:06: file "aws-os_lib.ads" not found
soap-generator-stub.adb:30:06: "SOAP.GENERATOR (body)" depends on "AWS.UTILS (body)"
soap-generator-stub.adb:30:06: "AWS.UTILS (body)" depends on "AWS.OS_LIB (spec)"
aws-utils.adb:821:29: "OS_Lib" is undefined

   compilation of awsres.adb failed
   compilation of aws-jabber-client.adb failed
   compilation of soap-generator.adb failed

gprbuild: *** compilation phase failed
make: *** [build-cross] Error 4

> If you figure on your own what is wrong, please also post the solution.

lol I have actually no idea what I should do when ./configure; make; make install; doesn't work. Just learning programming because I find it interesting to understand how that works. I work in an hospital lab in the department of microbiology. Cultivating bacteria and finding out which antibiotics a doctor should use to treat his patient. No research just plain routine stuff. I just need computers to enter my results and to rant about because they are too slow or the program is crap. So I won't find the solution myself. But thanks for your confidence in my skills :)

Thanks Laurent


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Problem building AWS on Mac OS 10.9
  2014-10-12 16:01   ` Laurent
@ 2014-10-13 19:53     ` Laurent
  2014-10-13 20:04     ` Pascal Obry
  1 sibling, 0 replies; 12+ messages in thread
From: Laurent @ 2014-10-13 19:53 UTC (permalink / raw)


Hi

Tried to build on my old MiniMac under 10.8:

laurent-lutgens-mac-mini:~ laurentlutgen$ echo $PATH
/usr/local/gnat/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
laurent-lutgens-mac-mini:~ laurentlutgen$ which gnat
/usr/local/gnat/bin/gnat
laurent-lutgens-mac-mini:~ laurentlutgen$ which gcc
/usr/local/gnat/bin/gcc
laurent-lutgens-mac-mini:~ laurentlutgen$ which make
/usr/bin/make
laurent-lutgens-mac-mini:~ laurentlutgen$ export C_INCLUDE_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include
laurent-lutgens-mac-mini:~ laurentlutgen$ cd AWS (stupid autocorrect: is lowercase)

laurent-lutgens-mac-mini:aws laurentlutgen$ make setup build install
Setup OS specific definitions
/bin/sh: line 1:  1964 Segmentation fault: 11  gcc -C -E -DTARGET=\"\" aws-os_lib-tmplt.c > aws-os_lib-tmplt.i
/bin/sh: line 1:  1965 Segmentation fault: 11  gcc -S aws-os_lib-tmplt.i
/bin/sh: ../xoscons: No such file or directory
make[1]: *** [../.build//release/../setup/src/aws-os_lib.ads] Error 127
make: *** [config_setup] Error 2
laurent-lutgens-mac-mini:aws laurentlutgen$ 

Hm same problem but different.

Also tried to build AWS on my MacBook Air which is the least f**cked up system of the three. Produces the same error as my MacPro.

With what do I have to replace this "export C_INCLUDE_PATH =/Applications/Xcode.app/Contents/ Developer/Platforms/MacOSX.platform/Developer/SDKs/ MacOSX10.8.sdk/usr/include" if I don't have installed Xcode but only the command line tools?

I have no idea what I am doing wrong. I didn't change anything on the config file. So if @David/Simon you could post step by step what you were/are doing to build or if you changed something I would be happy.

If I have the time I will also try to build AWS on my Linux Mint Box. If this fails too I am clearly to stupid for this and it will be archived with all the other failed ideas.

Thanks

Laurent


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Problem building AWS on Mac OS 10.9
  2014-10-12 16:01   ` Laurent
  2014-10-13 19:53     ` Laurent
@ 2014-10-13 20:04     ` Pascal Obry
  2014-10-13 20:47       ` Laurent
  1 sibling, 1 reply; 12+ messages in thread
From: Pascal Obry @ 2014-10-13 20:04 UTC (permalink / raw)



What the output for:

$ gcc --version

$ gnatls -v

Also, what's the content of makefile.setup?

Regards,

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Problem building AWS on Mac OS 10.9
  2014-10-11 23:00 Problem building AWS on Mac OS 10.9 Laurent
  2014-10-12  2:03 ` David Botton
  2014-10-12  9:22 ` Simon Wright
@ 2014-10-13 20:06 ` Blady
  2014-10-13 20:54   ` Laurent
  2 siblings, 1 reply; 12+ messages in thread
From: Blady @ 2014-10-13 20:06 UTC (permalink / raw)


Hello Laurent, here are some instructions I've done:

Get GNAT and AWS GPL 2014 on libre.adacore.com then:

tar xzf ~/Downloads/aws-gpl-3.2.0-src.tar.gz
cd aws-gpl-3.2.0-src/
edit makefile.conf
#prefix: absolute path to new existing directory in home directory
#ENABLE_SHARED= false
#XMLADA	= false
#ASIS	= false
make setup build install
Install project AWS
Install project Tools

That's all.
Take care that one time makefile.setup has been created all 
modifications to makefile.conf are not taken in account, so remove 
makefile.setup before make setup.

HTH, Pascal.
http://blady.pagesperso-orange.fr

Le 12/10/2014 01:00, Laurent a écrit :
> Hi
>
> I wanted to try out Gnoga which sounds exactly like what I need.
>
> Gnoga requires AWS so I downloaded it with: git clone --recursive http://forge.open-do.org/anonscm/git/aws/aws.git
>
> Then as written in the Gnoga FAQ:
>
> export C_INCLUDE_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include
>
> Then make setup build install.
>
> Fails with this:
>
> laurent-mac-pro-2:aws laurent$ make setup build install
> gprbuild: "xoscons" up to date
> Setup OS specific definitions
<...>
> Tried the was source from libre.adacore but the result is the same.
> I am too much a noob to understand what is going on. So if someone could enlighten me what I have forgotten to do or send me a compiled version of AWS for MacOS I would be very happy.
>
> Thanks
>
> Laurent
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Problem building AWS on Mac OS 10.9
  2014-10-13 20:04     ` Pascal Obry
@ 2014-10-13 20:47       ` Laurent
  2014-10-14 17:15         ` Pascal Obry
  0 siblings, 1 reply; 12+ messages in thread
From: Laurent @ 2014-10-13 20:47 UTC (permalink / raw)


Am Montag, 13. Oktober 2014 22:04:46 UTC+2 schrieb Pascal Obry:
> What the output for:
>
> $ gcc --version
> 
laurent-lutgens-mac-pro-2:~ laurentlutgen$ gcc --version
gcc (GCC) 4.7.4 20140401 for GNAT GPL gpl-2014 (20140405)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software;...

laurent-lutgens-mac-pro-2:~ laurentlutgen$ 
> 
> $ gnatls -v
> 
laurent-lutgens-mac-pro-2:~ laurentlutgen$ gnatls -v

GNATLS GPL 2014 (20140331)
Copyright (C) 1997-2014, Free Software Foundation, Inc.

Source Search Path:
   <Current_Directory>
   /usr/local/gnat/lib/gcc/x86_64-apple-darwin12.5.0/4.7.4/rts-native/adainclude


Object Search Path:
   <Current_Directory>
   /usr/local/gnat/lib/gcc/x86_64-apple-darwin12.5.0/4.7.4/rts-native/adalib


Project Search Path:
   <Current_Directory>
   /usr/local/xnadalib-2014/lib/gnat
   /usr/local/xnadalib-2014/lib/gnat
   /usr/local/gnat/x86_64-apple-darwin12.5.0/lib/gnat
   /usr/local/gnat/x86_64-apple-darwin12.5.0/share/gpr
   /usr/local/gnat/share/gpr
   /usr/local/gnat/lib/gnat
> 
> Also, what's the content of makefile.setup?
> 
prefix=/usr/local/gnat/bin/..
DEFAULT_LIBRARY_TYPE=static
ENABLE_SHARED=true
ZLIB=true
XMLADA=true
ASIS=false
IPv6=false
SOCKET=std
LDAP=false
DEBUG=false
PROCESSORS=0
TARGET=x86_64-apple-darwin13.4.0
> 

Thanks

Laurent


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Problem building AWS on Mac OS 10.9
  2014-10-13 20:06 ` Blady
@ 2014-10-13 20:54   ` Laurent
  0 siblings, 0 replies; 12+ messages in thread
From: Laurent @ 2014-10-13 20:54 UTC (permalink / raw)


Am Montag, 13. Oktober 2014 22:06:03 UTC+2 schrieb Blady:
> Hello Laurent, here are some instructions I've done:
> 
> 
> 
> Get GNAT and AWS GPL 2014 on libre.adacore.com then:
> 
> 
> 
> tar xzf ~/Downloads/aws-gpl-3.2.0-src.tar.gz
> 
> cd aws-gpl-3.2.0-src/
> 
> edit makefile.conf
> 
> #prefix: absolute path to new existing directory in home directory
> 
> #ENABLE_SHARED= false
> 
> #XMLADA	= false
> 
> #ASIS	= false
> 
> make setup build install
> 
> Install project AWS
> 
> Install project Tools
> 
> 
> 
> That's all.
> 
> Take care that one time makefile.setup has been created all 
> 
> modifications to makefile.conf are not taken in account, so remove 
> 
> makefile.setup before make setup.
> 
> 
> 
> HTH, Pascal.
> 
> http://blady.pagesperso-orange.fr

Ok that did it I think:
...
ar cr /Volumes/Macintosh HD/Downloads/aws-gpl-3.2.0-src/.build/x86_64-apple-darwin12.5.0/release/static/lib/src/libaws.a /volumes/macintosh hd/downloads/aws-gpl-3.2.0-src/.build/x86_64-apple-darwin12.5.0/release/static/obj/include/zlib.o /volumes/macintosh hd/downloads/aws-gpl-3.2.0-src/.build/x86_64-apple-darwin12.5.0/release/static/obj/include/zlib-thin.o ...
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Volumes/Macintosh HD/Downloads/aws-gpl-3.2.0-src/.build/x86_64-apple-darwin12.5.0/release/static/lib/src/libaws.a(aws-templates.o) has no symbols
ranlib -c libaws.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Volumes/Macintosh HD/Downloads/aws-gpl-3.2.0-src/.build/x86_64-apple-darwin12.5.0/release/static/lib/src/libaws.a(aws-templates.o) has no symbols
gprbind gen_gps_ref.bexch
gnatbind gen_gps_ref.ali
gcc -c b__gen_gps_ref.adb
gcc gen_gps_ref.o -o gen_gps_ref
Install project AWS
Install project Tools
laurent-lutgens-mac-pro-2:aws-gpl-3.2.0-src laurentlutgen$ 

Doesn't show an error but there is no "was successful" either.

What do this 2 lines mean: 
>Install project AWS 
>Install project Tools 
I have installed AWS under /usr/local/gnat/bin as described somewhere in the read me so it is automatically available.

Or do I need to do something else?

Thanks

Laurent

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Problem building AWS on Mac OS 10.9
  2014-10-13 20:47       ` Laurent
@ 2014-10-14 17:15         ` Pascal Obry
  2014-10-14 18:33           ` Simon Wright
  0 siblings, 1 reply; 12+ messages in thread
From: Pascal Obry @ 2014-10-14 17:15 UTC (permalink / raw)


Laurent,

> GNATLS GPL 2014 (20140331)
> Copyright (C) 1997-2014, Free Software Foundation, Inc.
> 
> Source Search Path:
>    <Current_Directory>
>    /usr/local/gnat/lib/gcc/x86_64-apple-darwin12.5.0/4.7.4/rts-native/adainclude

> TARGET=x86_64-apple-darwin13.4.0

Here is the problem. Your TARGET is not what is displayed for GNAT GPL
2014. You have probably to the setup with another compiler (FSF?).

Anyway, delete makefile.setup and redo a "make setup" with GNAT GPL 2014
in front of the PATH.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Problem building AWS on Mac OS 10.9
  2014-10-14 17:15         ` Pascal Obry
@ 2014-10-14 18:33           ` Simon Wright
  2014-10-14 20:32             ` Laurent
  0 siblings, 1 reply; 12+ messages in thread
From: Simon Wright @ 2014-10-14 18:33 UTC (permalink / raw)


Pascal Obry <pascal@obry.net> writes:

>> TARGET=x86_64-apple-darwin13.4.0
>
> Here is the problem. Your TARGET is not what is displayed for GNAT GPL
> 2014. You have probably to the setup with another compiler (FSF?).
>
> Anyway, delete makefile.setup and redo a "make setup" with GNAT GPL 2014
> in front of the PATH.

That's Apple's compiler --

$ /usr/bin/gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Problem building AWS on Mac OS 10.9
  2014-10-14 18:33           ` Simon Wright
@ 2014-10-14 20:32             ` Laurent
  0 siblings, 0 replies; 12+ messages in thread
From: Laurent @ 2014-10-14 20:32 UTC (permalink / raw)


Am Dienstag, 14. Oktober 2014 20:33:33 UTC+2 schrieb Simon Wright:

> $ /usr/bin/gcc -v
> 
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
> 
> Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
> 
> Target: x86_64-apple-darwin13.4.0
> 
> Thread model: posix

dito for /usr/bin/gcc -v

The good news is that the build seems to work. tried some of the demos. They compile without error. 
Just got 4 warnings about some folders missing in the was source for the docs. 

warning: path does not exists '/users/laurentlutgen/aws/templates_parser/docs/build/latex/'
warning: path does not exists '/users/laurentlutgen/aws/templates_parser/docs/build/'
warning: path does not exists '/users/laurentlutgen/aws/docs/build/latex/'
warning: path does not exists '/users/laurentlutgen/aws/docs/build/'

So the docs folder in the build is empty. Something I can live with. 

Can I leave AWS now as it is or are there some modifications I should/need to do?

If this had been an audit for certification/accreditation (ISO blabla bla) then it would have been 2 major non-conformities; 1) Procedure not complete 2) Procedure does not work. Thanks see you again next time; you failed.

Fortunately that I like Ada very much otherwise I would have already given up.

Thanks

Laurent

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-10-14 20:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-11 23:00 Problem building AWS on Mac OS 10.9 Laurent
2014-10-12  2:03 ` David Botton
2014-10-12 16:01   ` Laurent
2014-10-13 19:53     ` Laurent
2014-10-13 20:04     ` Pascal Obry
2014-10-13 20:47       ` Laurent
2014-10-14 17:15         ` Pascal Obry
2014-10-14 18:33           ` Simon Wright
2014-10-14 20:32             ` Laurent
2014-10-12  9:22 ` Simon Wright
2014-10-13 20:06 ` Blady
2014-10-13 20:54   ` Laurent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox