Hi,



do you still have your own Readme about


I have only a few handwritten notes, but I don't recall any real difficulties.
The main points, aside from those I already mentioned:

- the switch "-gcc" did not work. aimk insists on invoking "cc", so I used
  Sun Studio 12 (the original version, at that time) and created a symbolic
  link "cc" in a directory which is in my path which points to the C compiler
  from the Sun Studio 12 compiler. I don't remember if a C++ compiler was
  needed too; if so, a symbolic link "CC" would have to be created too.

- I used gtar to unpack the distribution; there was some error message with
  Solaris tar; maybe a long pathname.

- I tweaked the assignment to OFLAGS in aimk; this uses "-fast -xchip=generic 
-xcache=generic".
  I changed this to "-g" for a start; this disables optimization and enables 
line numbers
  in corefiles.

All this worked for Solaris 10 on x86 and Sparc (with two Sun Studio 
Installations, for x86
and Sparc).


- which Solaris Studio Release you have used?
current is 12.3 but that may be too new for SGE 6.2u5p2

see above, but I would simply go ahead and try 12.3.


Or may current GE2011.11p1 be a better combination?

I can't comment on this; I have not tried this.


- about whether SUNWgcc, SUNWgccruntime may co-exist ?

- about order in PATH settings
I know that this may play an important role


This should not be a problem. The GNU compilers are gcc, g++ etc., while the 
Solaris Studio
compilers come as cc,CC etc. Just install Solaris Studio 12.3 somewhere and 
make sure that
issuing "cc" and "CC" invoke the compilers from this installation.

Regards
Dieter Ruppert


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im 
Auftrag von Dieter Ruppert
Gesendet: Mittwoch, 30. Juli 2014 16:23
An: [email protected]
Betreff: Re: [gridengine users] compiling (Solaris 10 x86) : make: Fatal error: 
Command failed for target `lstopo-lstopo-draw.o'


Hi,

I did this successfully with 6.2u5p2 a few years ago. The crucial points were:

- the build infrastructure for solaris was apparently geared towards the
    Solaris Studio compilers. I needed Solaris Studio cc and CC in my PATH.

- the Berkeley DB (if needed) must be built with CC="cc -m64" and referenced
    from aimk.private and distinst.private (as documented)

- there is a certain sequence of aimk invocations needed:

    ./aimk -no-java -no-jni -no-secure -no-dump -only-depend
    ./scripts/zerodepend
    ./aimk -no-java -no-jni -no-secure -no-dump depend
    ./aimk -no-java -no-jni -no-secure -no-dump

This produced a working installation with Solaris Studio 12.

Regards
Dieter Ruppert


-
On 07/30/14 15:09, Kraus, Niki wrote:
Hi,

at the moment I'm trying

GE2011.11p1 / 2012-07-09
SGE6.2u5p2  / 2011-04-05


eg.


# /Installer/OpenGridScheduler/SGE6.2u5p2/source # ./aimk -no-secure 
-spool-classic -gcc -no-java -no-jni -no-remote -debug
Building in directory: /Installer/OpenGridScheduler/SGE6.2u5p2/source
making in SOLARISAMD64/ for SOLARISAMD64 at host kondort2
_________3_r_d_p_a_r_t_y__P_L_P_A_______
plpa on architecture SOLARISAMD64 not supported
_________C_O_R_E__S_Y_S_T_E_M_____________
../common/Makefile:69: ../common/common_dependencies: No such file or directory
../security/krb/Makefile:59: ../security/krb/krb_dependencies: No such file or 
directory
../security/gss/Makefile:37: ../security/gss/gss_dependencies: No such file or 
directory
../libs/lck/Makefile:103: ../libs/lck/lck_dependencies: No such file or 
directory
../libs/rmon/Makefile:73: ../libs/rmon/rmon_dependencies: No such file or 
directory
../libs/uti/Makefile:137: ../libs/uti/uti_dependencies: No such file or 
directory
../libs/cull/Makefile:97: ../libs/cull/cull_dependencies: No such file or 
directory
...


could it be make ?


I have:

/usr/sfw/bin/gcc                SUNWgcc
/opt/csw/bin/gcc                CSWgcc4core
/opt/csw/bin/gmake      CSWgmake


bye Nick


-----Ursprüngliche Nachricht-----
Von: Reuti [mailto:[email protected]]
Gesendet: Mittwoch, 30. Juli 2014 14:45
An: Kraus, Niki
Cc: grid engine users list
Betreff: Re: [gridengine users] compiling (Solaris 10 x86) : make: Fatal error: 
Command failed for target `lstopo-lstopo-draw.o'

Hi,

Am 30.07.2014 um 14:13 schrieb Kraus, Niki:

at the moment I'm deeply convinced that I use the wrong compiler version, GNU 
gcc 4.9.0 , it's simply too new.

At
http://mirror.opencsw.org/opencsw/allpkgs/?bcsi_scan_b0797d08ba117e08=
0

there is a list of archived CSW GNU compilers, any idea which one to take?

gcc4core-4.6.1,REV=2011.09.01-SunOS5.10-i386-CSW.pkg.gz   2011-Sep-01 21:30:28
gcc4core-4.7.0,REV=2012.04.30-SunOS5.10-i386-CSW.pkg.gz   2012-May-31 15:12:41
...


bye Nick

The error sounds more like a missing library. Which source are you using (I 
have no Solaris handy to test though)?

-- Reuti


3 Banken EDV
Infrastruktur&   Applikationen
Niki Kraus / System Integrator / Solaris, Linux Untere Donaulände 28,
A-4020 Linz



--
----------------------------------
Siemens AG
Industry Sector
Drive Technologies Division
Motion Control Systems
Research and Development
I DT MC R&D SDC 6
Benzstr. 1
71272 Renningen, Deutschland
Tel.: +49 (7159) 165557
Fax: +49 (7159) 165-202

Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme;
Vorstand: Joe Kaeser, Vorsitzender; Roland Busch, Klaus Helmrich, Hermann
Requardt, Siegfried Russwurm, Michael Süß, Ralf P. Thomas; Sitz der
Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin
Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to