AW: ADD: Solaris 8 Sparc Kolab2 gmp compile error

Andrea Soliva soliva at comcept.ch
Thu Aug 25 09:32:35 CEST 2005


Hi Diester

yes you are right I made a mistake with rpmmarcos but only by typing it in 
the userlist's mail. On the system I used /kolab/.rpmmacros ! Again many 
thanks for your answer......but I do not understand what you mean with:

"were honored when I created a 32 bit version on my amd64 workstation"

What you mean with this....! The configure trys actually to do 64 bit and 
even I give the info to use gcc it allways uses /kolab/bin/cc. It looks for 
me like nothing will be taken from the file .rpmmacros. Can you give me a 
note what you mean exact with 32 bit version?

Another solution would be to configure and compile manually under openpkg but 
actually I'm not aware how I have to do it under openpkg or under this 
special openpkg env. I can only say if I change to kolab user with su - kolab 
and go into the source of gmp the configure and make would work with the 
special flags.

How should I proceed....!

kind regards

Andrea
---------- Original Message -----------
From: "Dieter Kluenter" <dieter at dkluenter.de>
To: kolab-users at kolab.org
Sent: Thu, 25 Aug 2005 08:50:35 +0200
Subject: Re: AW: ADD: Solaris 8 Sparc Kolab2 gmp compile error

> "ComCept Net GmbH Soliva" <soliva at comcept.ch> writes:
> 
> > Hi 
> >
> > I had a look at the site and if I understood all correct I have to 
generate
> > a file in the home dir from kolab with the name ".rpmmacros" . In this 
file
> > it could be defined some cflags based for a package or global. To be on 
the
> > secure site I defined in a global way as following:
> >
> >  vi /kolab/.rpmmarcos
> >
> >  %l_cflags -Wa,-xarch=v8
> >  %l_cc /opt/sfw/gcc
> >  %l_cxx /opt/sfw/gcc
> >  %l_cxxflags -xarch=v8
> >
> >  chmod 644 /kolab/.rpmmarcos
> >  chown kolab:kolab /kolab/.rpmmarcos
> >
> > Actually I do not understand why but I can write in different ways the
> > entrys but it has absolutly no impact of the way the source would be
> > configured. Did I misunderstood something?
> 
> I don't know wether you made the same typo I made, (rpmmarcos instead
> of rpmmacros) if not, you should probably rename the file.
> At least I can tell that entries in /kolab/.rpmmacros were honored
> when I created a 32 bit version on my amd64 workstation.
> 
> -Dieter
> 
> > "Andrea Soliva" <soliva at comcept.ch> writes:
> >
> >> Hi all
> >>
> >> I found a solution but I do not know how to implement it means if I 
would 
> >> change to kolab2 env with su - kolab and compile the source manually 
with:
> >>
> >> ./configure CC=gcc CXX=gcc CFLAGS=-Wa,-xarch=v8 CXXFLAGS=-xarch=v8
> >>
> >> make
> >>
> >> it would work....! I tried to implement this in the obmtool.conf file 
with
> >
> >> following entry:
> >>
> >> @install $(altloc)gmp-4.1.4-20040924 ./configure CC=gcc CXX=gcc
> > CFLAGS=-Wa,-
> >> xarch=v8 CXXFLAGS=-xarch=v8
> >>
> >> but this does not work.....how can I implement this?
> >
> > You may create a file /kolab/.rpmmacros, for more information and
> > syntax see
> > http://www.openpkg.org/faq.html#overriding-cflags
> >
> > -Dieter
> 
> -- 
> Dieter Klünter | Systemberatung
> http://www.dkluenter.de
> GPG Key ID:8EF7B6C6
> 
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
------- End of Original Message -------




More information about the users mailing list