Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367021 - [science overlay] sci-mathematics/giac-1.0.0 with USE=fltk does not build xcas
Summary: [science overlay] sci-mathematics/giac-1.0.0 with USE=fltk does not build xcas
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard: Science overlay
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 18:41 UTC by Andrey Grozin
Modified: 2021-04-01 21:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2011-05-12 18:41:07 UTC
First, the downloaded file giac-0.9.2.tar.gz does not correspond to the Manifest. After regenerating the Manifest, it fails to compile:

libtool: compile:  i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -O2 -march=native -pipe -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -c ti89.cc  -fPIC -DPIC -o .libs/ti89.o
ti89.cc: In function ‘giac::gen giac::fPart(const giac::gen&, const giac::context*)’:
ti89.cc:1957:23: error: too few arguments to function ‘giac::gen giac::fPart(const giac::gen&, const giac::context*)’
ti89.cc:1955:7: note: declared here
make[2]: *** [ti89.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/giac-0.9.2/work/giac-0.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/giac-0.9.2/work/giac-0.9.2'
make: *** [all] Error 2
 * ERROR: sci-mathematics/giac-0.9.2 failed (compile phase):
 *   emake failed
Comment 1 Andrey Grozin gentoo-dev 2013-01-20 13:48:11 UTC
The downloaded giac-1.0.0.tar.gz has size which differs from the Manifest. After re-generating Manifest, it compiles, and command-line version works. However, I specified USE=fltk, but giac was not configured to build xcas, the fltk front-end to giac. It installs a stub xcas; when started, it just says

No GUI support, try cas instead or recompile Giac with
./configure --enable-fltk-support
make clean ; make

Inspection of configure shows that this option is, in fact, called --enable-gui; however, configure fails to find the installed fltk-1.3.0-r1. Some patching of configure.in is needed. Also, there are other interesting configure options: --enable-lapack, --enable-pari, --enable-gsl, --enable-gc, maybe, something else. They should be controlled by USE flags and have corresponding DEPENDs.
Comment 2 Michael Orlitzky gentoo-dev 2021-04-01 21:55:20 UTC
I'm pretty sure this is fixed, and moreover sci-mathematics/giac-1.7.0.1 is now in the main tree. Please give it a try and report any problems you find.