List Info

Thread: isinf problem (and others)




isinf problem (and others)
country flaguser name
United States
2007-09-11 12:23:44
I'm trying to build 3.5.7 on a sparc box with:
solaris 10
gcc/g++ 4.1.1

I'm configuring with
./configure --prefix=/usr/local/kde ...
where the ... is the directories for things that arent
found, python, ssl etc 
(mostly they are in /usr/sfw)

Unfortunately the configure tests for kdelibs & kdeutils
find the isinf 
function, but when the routines that use it try to find it
they fail and 
complain that isinf is not defined in this scope. While it
is possible to 
work around these with a bit of fiddling, I can't see why
the test can find 
it and not the actual compilations, does anyone know of any
obvious gotcha 
that can cause this.

Also a major pain is the configure for arts which adds an
invalid -mt flag to 
all C compiles -- the only fix I could find was to manually
edit it out of 
all 17 Makefiles.

James Tappin


___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  ht
tps://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.

Re: isinf problem (and others)
user name
2007-09-12 04:43:46
Look up in the kde-solaris archives from July there are some
information (plus
sources) about building KDE-3.5.7 on sparc solaris.

Michael

> -----Original Message-----
> From: James Tappin [mailto:jtappinnso.edu]
> Sent: Tuesday, September 11, 2007 7:24 PM
> To: kde-solariskde.org
> Subject: [kde-solaris] isinf problem (and others)
> 
> I'm trying to build 3.5.7 on a sparc box with:
> solaris 10
> gcc/g++ 4.1.1
> 
> I'm configuring with
> ./configure --prefix=/usr/local/kde ...
> where the ... is the directories for things that arent
found, python, ssl etc
> (mostly they are in /usr/sfw)
> 
> Unfortunately the configure tests for kdelibs &
kdeutils find the isinf
> function, but when the routines that use it try to find
it they fail and
> complain that isinf is not defined in this scope. While
it is possible to
> work around these with a bit of fiddling, I can't see
why the test can find
> it and not the actual compilations, does anyone know of
any obvious gotcha
> that can cause this.
> 
> Also a major pain is the configure for arts which adds
an invalid -mt flag to
> all C compiles -- the only fix I could find was to
manually edit it out of
> all 17 Makefiles.
> 
> James Tappin
> 
> 
> ___________________________________________________
> This message is from the kde-solaris mailing list.
> Account management:  ht
tps://mail.kde.org/mailman/listinfo/kde-solaris.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.h
tml.
> 


___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  ht
tps://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.

Re: isinf problem (and others)
country flaguser name
Netherlands
2007-09-12 05:22:52
On Wednesday 12 September 2007, Michael Lindig wrote:
> Look up in the kde-solaris archives from July there are
some information
> (plus sources) about building KDE-3.5.7 on sparc
solaris.

I remember working around that in kdelibs trunk; it's
something weird like the 
check is done in C, which *does* find the #define while the
use is in C++ 
which avoids the exact same #define.

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot

___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  ht
tps://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.
Re: isinf problem (and others)
country flaguser name
Sweden
2007-09-12 14:51:24
Hi,

The problem with the -mt flags comes from packages witch are
compiled with
sun compiler  and configure searches in the packages path
for example in 
/usr/lib/pkgconfig this two files includes -mt flag.
gthread-2.0.pc
ORBit-2.0.pc
Fix is that you could install your own gcc compiled version
from src or 
preecompiled packages from sunfreeware and put this path
first in your 
environment variable PKG_CONFIG_PATH.
If the included lib is a pure c lib you could edit the *.pc
file and remove -mt 
flag.


Hope that helps.

Regards Mats Röjestål

James Tappin skrev:
> I'm trying to build 3.5.7 on a sparc box with:
> solaris 10
> gcc/g++ 4.1.1
> 
> I'm configuring with
> ./configure --prefix=/usr/local/kde ...
> where the ... is the directories for things that arent
found, python, ssl etc 
> (mostly they are in /usr/sfw)
> 
> Unfortunately the configure tests for kdelibs &
kdeutils find the isinf 
> function, but when the routines that use it try to find
it they fail and 
> complain that isinf is not defined in this scope. While
it is possible to 
> work around these with a bit of fiddling, I can't see
why the test can find 
> it and not the actual compilations, does anyone know of
any obvious gotcha 
> that can cause this.
> 
> Also a major pain is the configure for arts which adds
an invalid -mt flag to 
> all C compiles -- the only fix I could find was to
manually edit it out of 
> all 17 Makefiles.
> 
> James Tappin
> 
> 
> ___________________________________________________
> This message is from the kde-solaris mailing list.
> Account management:  ht
tps://mail.kde.org/mailman/listinfo/kde-solaris.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.h
tml.
> 

___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  ht
tps://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )