Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174576 - sci-mathematics/ginac-1.3.7 - cln problem
Summary: sci-mathematics/ginac-1.3.7 - cln problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-14 11:19 UTC by Bartosz Marek
Modified: 2008-12-20 14:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,9.14 KB, text/plain)
2007-04-14 11:21 UTC, Bartosz Marek
Details
config.log on Pentium machine (config.log,94.10 KB, text/plain)
2007-04-20 13:04 UTC, Bartosz Marek
Details
config.log on AMD machine (config.log,94.34 KB, text/plain)
2007-04-20 13:09 UTC, Bartosz Marek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Marek 2007-04-14 11:19:18 UTC
ginac-137 configure problem with cln on 2 machines:

(...)
checking for cln-config... /usr/bin/cln-config
checking for CLN - version >= 1.1.0... no
*** Could not run CLN test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding CLN or finding the wrong
*** version of CLN. If it is not finding CLN, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location. Also, make sure you have run ldconfig if that
*** is required on your system
(...)
**** The following problems have been detected by configure.
**** Please check the messages below before running "make".
**** (see the section 'Common Problems' in the INSTALL file)

** No suitable installed version of CLN could be found.


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/sci-mathematics/ginac-1.3.7/work/ginac-1.3.7/config.log

!!! ERROR: sci-mathematics/ginac-1.3.7 failed.


I've checked cln-config:
# cln-config --version --cppflags --libs
1.1.13

-L/usr/lib -lcln -lgmp

emerge --info on first machine and second machines in attachmment
Comment 1 Bartosz Marek 2007-04-14 11:21:23 UTC
Created attachment 116230 [details]
emerge --info
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2007-04-19 12:45:24 UTC
Hi Bartosz,

Could you please post your config.log so I can see why configure
is failing at detecting cln.

Thanks,
Markus
Comment 3 Bartosz Marek 2007-04-20 13:04:01 UTC
Created attachment 116794 [details]
config.log on Pentium machine
Comment 4 Bartosz Marek 2007-04-20 13:09:46 UTC
Created attachment 116796 [details]
config.log on AMD machine
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2007-04-21 11:49:52 UTC
(In reply to comment #4)
> Created an attachment (id=116796) [edit]
> config.log on AMD machine
> 

Thanks! It looks like you are getting a segmentation
fault during the configure step on both machines.
Could you please replace '-Os' with '-O2' and try
again. 

Thanks,
Markus
Comment 6 Bartosz Marek 2007-04-23 10:55:24 UTC
Hi, I've reemerged both: cln and ginac with -O2 flag. It works ;). Thank you !
Cheers
Comment 7 Markus Dittrich (RETIRED) gentoo-dev 2007-04-23 13:16:26 UTC
Great :) I'll see if I can reproduce this on my machine and 
may filter -Os should this be the case.

Thanks,
Markus
Comment 8 Markus Dittrich (RETIRED) gentoo-dev 2007-04-24 21:45:47 UTC
The cln-1.1.13 ebuild now filters -Os since it leads
to segmentation faults on both of my dev boxes as well.

Thanks,
Markus
Comment 9 Adrian Mayer 2008-12-20 14:39:14 UTC
hi,
I am on a powerpc G4 machine

/etc/make.conf
  CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"

I emerged  sci-mathematics/ginac-1.3.7

and I had issu with cln.1.2.2 while I had no issue with cln-1.1.13


also cln-1.1.13 has /usr/bin/cln-config, while cln-1.2.2 has not

does it mean shouldn't I update the cln to the 1.2.2. ?

regards