AW: ADD: Solaris 8 Sparc Kolab2 gmp compile error

ComCept Net GmbH Soliva soliva at comcept.ch
Wed Aug 24 23:03:23 CEST 2005


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?

Andrea

-----Ursprüngliche Nachricht-----
Von: kolab-users-bounces at kolab.org [mailto:kolab-users-bounces at kolab.org] Im
Auftrag von Dieter Kluenter
Gesendet: Mittwoch, 24. August 2005 17:07
An: kolab-users at kolab.org
Betreff: Re: ADD: Solaris 8 Sparc Kolab2 gmp compile error

"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




More information about the users mailing list