Install problem on Mac OS/X

36 views
Skip to first unread message

Rodney Beard

unread,
Aug 17, 2015, 12:48:17 PM8/17/15
to scikits.bvp_solver
Hi,

 not sure if anyone here can help me with this have been trying to install bvpsolver on Mac, have gfortran installed and easy_install as well but when I try to onstall bvpsolver using easy_install I get an error and the install fails. Does anyone have a work around to this?

thanks

Rodney.

John Salvatier

unread,
Aug 17, 2015, 1:12:04 PM8/17/15
to scikits.bvp_solver
Been a while since I've worked on this but there are other people on this list who might be able to help more. Can you post your error?

--

---
You received this message because you are subscribed to the Google Groups "scikits.bvp_solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikits-bvp_sol...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rodney Beard

unread,
Aug 17, 2015, 1:17:43 PM8/17/15
to scikits.bvp_solver
Thanks, John, seems there are a lot of errors, here is a sample:

Warning: Unused module variable 'x' which has been explicitly imported at (1)

build/src.macosx-10.5-x86_64-2.7/scikits/bvp_solver/lib/bvp_solverf-f2pywrappers2.f90:217.10:


      use bvp, only : node

          1

Warning: Unused module variable 'y' which has been explicitly imported at (1)

ld: library not found for -lbundle1.o

collect2: error: ld returned 1 exit status

ld: library not found for -lbundle1.o

collect2: error: ld returned 1 exit status

error: Setup script exited with error: Command "/usr/local/bin/gfortran -Wall -g -m64 -Wall -g -undefined dynamic_lookup -bundle build/temp.macosx-10.5-x86_64-2.7/build/src.macosx-10.5-x86_64-2.7/scikits/bvp_solver/lib/bvp_solverfmodule.o build/temp.macosx-10.5-x86_64-2.7/build/src.macosx-10.5-x86_64-2.7/fortranobject.o build/temp.macosx-10.5-x86_64-2.7/scikits/bvp_solver/lib/BVP_M.o build/temp.macosx-10.5-x86_64-2.7/scikits/bvp_solver/lib/BVP_INTERFACE.o build/temp.macosx-10.5-x86_64-2.7/scikits/bvp_solver/lib/lampak.o build/temp.macosx-10.5-x86_64-2.7/scikits/bvp_solver/lib/BVP_LA.o build/temp.macosx-10.5-x86_64-2.7/build/src.macosx-10.5-x86_64-2.7/scikits/bvp_solver/lib/bvp_solverf-f2pywrappers2.o -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin13/4.9.0 -L//anaconda/lib -lgfortran -o build/lib.macosx-10.5-x86_64-2.7/scikits/bvp_solver/bvp_solverf.so" failed with exit status 1


On Monday, August 17, 2015 at 6:12:04 PM UTC+1, John Salvatier wrote:
Been a while since I've worked on this but there are other people on this list who might be able to help more. Can you post your error?

On Mon, Aug 17, 2015 at 9:48 AM Rodney Beard <rodney....@gmail.com> wrote:
Hi,

 not sure if anyone here can help me with this have been trying to install bvpsolver on Mac, have gfortran installed and easy_install as well but when I try to onstall bvpsolver using easy_install I get an error and the install fails. Does anyone have a work around to this?

thanks

Rodney.

--

---
You received this message because you are subscribed to the Google Groups "scikits.bvp_solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikits-bvp_solver+unsub...@googlegroups.com.

Rodney Beard

unread,
Aug 17, 2015, 1:26:29 PM8/17/15
to scikits.bvp_solver

output attached.
myerror.txt

malena....@gmail.com

unread,
Aug 19, 2016, 4:46:59 PM8/19/16
to scikits.bvp_solver
Hi,

I am getting a similar error and I was wondering how you fixed it, Rodney. Thanks!

Here is part of what I get.

c:/program files (x86)/gfortran/bin/../lib/gcc/i686-pc-mingw32/6.1.0/../../../..
/i686-pc-mingw32/lib/dllcrt2.o:crtdll.c:(.text+0x43a): undefined reference to `D
llEntryPoint@12'
c:/program files (x86)/gfortran/bin/../lib/gcc/i686-pc-mingw32/6.1.0/../../../..
/i686-pc-mingw32/lib/dllcrt2.o:crtdll.c:(.text+0x47f): undefined reference to `D
llEntryPoint@12'
c:/program files (x86)/gfortran/bin/../lib/gcc/i686-pc-mingw32/6.1.0/../../../..
/i686-pc-mingw32/lib/dllcrt2.o:crtdll.c:(.text+0x4b8): undefined reference to `_
_native_dllmain_reason'
c:\program files (x86)\gfortran\lib/libgfortran.a(string.o): In function `strndu
p':
/home/gfortran/gcc-home/workshop/gcc/objdir/i686-pc-mingw32/libgfortran/../../..
/gcc-6.1.0-mingw/libgfortran/runtime/string.c:112: undefined reference to `strnl
en'
c:\program files (x86)\gfortran\lib/libgfortran.a(dwarf.o): In function `snprint
f':
/home/gfortran/gcc-home/binary/mingw32/cross/x86_32/gcc/6-20150531/i686-pc-mingw
32/include/stdio.h:557: undefined reference to `__ms_vsnprintf'
c:\program files (x86)\gfortran\lib/libgfortran.a(dwarf.o): In function `read_at
tribute':
/home/gfortran/gcc-home/workshop/gcc/objdir/i686-pc-mingw32/libbacktrace/../../.
./gcc-6.1.0-mingw/libbacktrace/dwarf.c:698: undefined reference to `strnlen'
c:\program files (x86)\gfortran\lib/libgfortran.a(dwarf.o): In function `read_li
ne_header':
/home/gfortran/gcc-home/workshop/gcc/objdir/i686-pc-mingw32/libbacktrace/../../.
./gcc-6.1.0-mingw/libbacktrace/dwarf.c:1632: undefined reference to `strnlen'
/home/gfortran/gcc-home/workshop/gcc/objdir/i686-pc-mingw32/libbacktrace/../../.
./gcc-6.1.0-mingw/libbacktrace/dwarf.c:1652: undefined reference to `strnlen'
/home/gfortran/gcc-home/workshop/gcc/objdir/i686-pc-mingw32/libbacktrace/../../.
./gcc-6.1.0-mingw/libbacktrace/dwarf.c:1664: undefined reference to `strnlen'
/home/gfortran/gcc-home/workshop/gcc/objdir/i686-pc-mingw32/libbacktrace/../../.
./gcc-6.1.0-mingw/libbacktrace/dwarf.c:1689: undefined reference to `strnlen'
c:\program files (x86)\gfortran\lib/libgfortran.a(dwarf.o):/home/gfortran/gcc-ho
me/workshop/gcc/objdir/i686-pc-mingw32/libbacktrace/../../../gcc-6.1.0-mingw/lib
backtrace/dwarf.c:1809: more undefined references to `strnlen' follow
collect2.exe: error: ld returned 1 exit status
error: Command "C:\Program Files (x86)\gfortran\bin\gfortran.exe -Wall -g -Wall
-g -shared build\temp.win32-2.7\Release\build\src.win32-2.7\scikits\bvp_solver\l
ib\bvp_solverfmodule.o build\temp.win32-2.7\Release\build\src.win32-2.7\fortrano
bject.o build\temp.win32-2.7\Release\scikits\bvp_solver\lib\BVP_M.o build\temp.w
in32-2.7\Release\scikits\bvp_solver\lib\BVP_INTERFACE.o build\temp.win32-2.7\Rel
ease\scikits\bvp_solver\lib\lampak.o build\temp.win32-2.7\Release\scikits\bvp_so
lver\lib\BVP_LA.o build\temp.win32-2.7\Release\build\src.win32-2.7\scikits\bvp_s
olver\lib\bvp_solverf-f2pywrappers2.o -L"c:\program files (x86)\gfortran\lib" -L
"c:\program files (x86)\gfortran\lib\gcc\i686-pc-mingw32\6.1.0" -LC:\Anaconda\li
bs -LC:\Anaconda\PCbuild -LC:\Anaconda\PC\VS9.0 -lpython27 -lgfortran -o build\l
ib.win32-2.7\scikits\bvp_solver\bvp_solverf.pyd" failed with exit status 1

malena....@gmail.com

unread,
Aug 19, 2016, 4:47:46 PM8/19/16
to scikits.bvp_solver, malena....@gmail.com
I forgot to mention that I am using a Windows machine.

Malena

Scott Calabrese Barton

unread,
Aug 20, 2016, 11:53:35 AM8/20/16
to scikits.bvp_solver
You might try `pip install scikits.bvp_solver` which did not require a compile for me, and I'm on a Mac as well.

Ralf Gommers

unread,
Aug 20, 2016, 5:28:03 PM8/20/16
to scikits-b...@googlegroups.com
On Sun, Aug 21, 2016 at 3:53 AM, Scott Calabrese Barton <s.calabr...@gmail.com> wrote:
You might try `pip install scikits.bvp_solver` which did not require a compile for me, and I'm on a Mac as well.

It should involve a compile, there are no Windows or OS X binaries at https://pypi.python.org/pypi/scikits.bvp_solver.

But yes, always use pip instead of easy_install. The latter is deprecated.

Ralf

 

On Monday, August 17, 2015 at 12:48:17 PM UTC-4, Rodney Beard wrote:
Hi,

 not sure if anyone here can help me with this have been trying to install bvpsolver on Mac, have gfortran installed and easy_install as well but when I try to onstall bvpsolver using easy_install I get an error and the install fails. Does anyone have a work around to this?

thanks

Rodney.

--

Ralf Gommers

unread,
Aug 20, 2016, 5:29:41 PM8/20/16
to scikits-b...@googlegroups.com
On Sat, Aug 20, 2016 at 8:47 AM, <malena....@gmail.com> wrote:
I forgot to mention that I am using a Windows machine.

Did you try to compile any other package with Fortran code before, and was that successful?

IIRC there are some tests for numpy.f2py that will fail if you have a gfortran installed but it's not set up correctly. You may try to run those.

Ralf

 

--

Rodney Beard

unread,
Aug 20, 2016, 6:07:03 PM8/20/16
to scikits-b...@googlegroups.com
It's been a while since I looked at this, it seems installing with pip does indeed work. I can't recall if I tried that before I posted the original question last year. anway install has now worked for me using pip and gcc.

Thanks very much everyone

Rodney
To unsubscribe from this group and stop receiving emails from it, send an email to scikits-bvp_solver+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "scikits.bvp_solver" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scikits-bvp_solver/DbU8BM3NhCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scikits-bvp_solver+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages