#16017: Get libs.mwrank to compile on OS X 10.4
--------------------------------------+------------------------
Reporter: kcrisman | Owner:
Type: defect | Status: new
Priority: blocker | Milestone: sage-6.2
Component: packages: standard | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------------+------------------------
Comment (by leif):
Replying to [comment:8 leif]:
> (Note the recorded path to the PARI library!)
>
> But we (also) already have `-lpari` on the command line for linking the
mwrank Python extension module (which I think by the way shouldn't be
necessary either, as it isn't ''directly'' used IIRC) [...]
And if I remove `pari` from the allegedly needed libraries of the mwrank
Python extension module (in `module_list.py`), this also works ''on
bsd.math'':
{{{
leif@bsd:~/Sage/sage-6.2.beta5$ touch src/sage/libs/mwrank/mwrank.pyx
leif@bsd:~/Sage/sage-6.2.beta5$ ./sage -b
scons: `install' is up to date.
Updating Cython code....
Compiling sage/libs/mwrank/mwrank.pyx because it changed.
Cythonizing sage/libs/mwrank/mwrank.pyx
Finished compiling Cython code (time = 4.62841916084 seconds)
running install
running build
running build_py
running build_ext
building 'sage.libs.mwrank.mwrank' extension
Executing 1 command (using 1 thread)
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -DNTL_ALL
-I/Users/leif/Sage/sage-6.2.beta5/local/include
-I/Users/leif/Sage/sage-6.2.beta5/local/include/csage
-I/Users/leif/Sage/sage-6.2.beta5/src
-I/Users/leif/Sage/sage-6.2.beta5/src/sage/ext
-I/Users/leif/Sage/sage-6.2.beta5/local/include
-I/Users/leif/Sage/sage-6.2.beta5/local/include/csage
-I/Users/leif/Sage/sage-6.2.beta5/src
-I/Users/leif/Sage/sage-6.2.beta5/src/sage/ext
-I/Users/leif/Sage/sage-6.2.beta5/local/include/python2.7 -c
sage/libs/mwrank/mwrank.c -o
build/temp.macosx-10.6-x86_64-2.7/sage/libs/mwrank/mwrank.o -fno-strict-
aliasing -w
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -DNTL_ALL
-I/Users/leif/Sage/sage-6.2.beta5/local/include
-I/Users/leif/Sage/sage-6.2.beta5/local/include/csage
-I/Users/leif/Sage/sage-6.2.beta5/src
-I/Users/leif/Sage/sage-6.2.beta5/src/sage/ext
-I/Users/leif/Sage/sage-6.2.beta5/local/include
-I/Users/leif/Sage/sage-6.2.beta5/local/include/csage
-I/Users/leif/Sage/sage-6.2.beta5/src
-I/Users/leif/Sage/sage-6.2.beta5/src/sage/ext
-I/Users/leif/Sage/sage-6.2.beta5/local/include/python2.7 -c
sage/libs/mwrank/wrap.cc -o
build/temp.macosx-10.6-x86_64-2.7/sage/libs/mwrank/wrap.o -fno-strict-
aliasing -w
g++ -bundle -undefined dynamic_lookup
-L/Users/leif/Sage/sage-6.2.beta5/local/lib
build/temp.macosx-10.6-x86_64-2.7/sage/libs/mwrank/mwrank.o
build/temp.macosx-10.6-x86_64-2.7/sage/libs/mwrank/wrap.o
-L/Users/leif/Sage/sage-6.2.beta5/local/lib -lcsage -lec -lntl -lgmp
-lgmpxx -lstdc++ -lm -lstdc++ -lntl -o
build/lib.macosx-10.6-x86_64-2.7/sage/libs/mwrank/mwrank.so
Time to execute 1 command: 4.69843101501 seconds
Total time spent compiling C/C++ extensions: 4.88040590286 seconds.
}}}
I guess doing so would trigger another "no such file or directory" warning
on ''Karl-Dieter's'' machine. MacOS X 10.6's linker is simply
"smarter"...
--
Ticket URL: <http://trac.sagemath.org/ticket/16017#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.