Comments (3)
to solve problem I just commented configure.ac:
sed -i '106,111s/^(.*)$/#\1/' configure.ac
sed -i 's/^(AC_CHECK_FUNCS.hypot)/#\1/' configure.ac
autoreconf -fi
LIBS=-lm ./configure --prefix="$installdir" --disable-static
make
make check
make install
but it is not a solution!
from libspiro.
Don't have time to check it right now this moment, I will check this later today, but here is something you can try in the meantime.
While dealing with the various versions of configure, some versions didn't quite understand AC_SEARCH_LIBS(), and therefore AC_CHECK_LIB() was used as a catch. Newer versions of configure are okay with AC_SEARCH_LIBS(), and I suspect that autoconf may have dropped AC_CHECK_LIB() or something may have broke with autoconf since this code hasn't changed for years.
Try simplify configure.ac here:
AC_CHECK_HEADER([math.h],
AC_SEARCH_LIBS([cos],[m],[have_libm=yes],
AC_CHECK_LIB([m],[cos],[have_libm=yes])))
if test x"${have_libm}" != xyes; then
AC_MSG_FAILURE([ERROR: Please install Math libraries and math.h include files for libm],[1])
fi
to
have_libm=maybe
AC_CHECK_HEADER([math.h],
AC_SEARCH_LIBS([cos],[m],[have_libm=yes]))
if test x"${have_libm}" != xyes; then
AC_MSG_FAILURE([ERROR: Please install Math libraries and math.h include files fi
If it works and you want to send in a patch, go ahead.
Looking at it now, I could have updated configure.guess and configure.sub too :-)
from libspiro.
Hi @AlexeiKharchev,
Had to run linux mint to find this problem...Found the problem. You are missing libtool development files.
Doing a search for linux mint libtool showed this mint libtool dev files
After you install those dev files try again:
autoreconf -fvi
automake
./configure
make check
Seeing this works, I think it is safe to close this issue as resolved.
from libspiro.
Related Issues (20)
- Fails to link to the math libraries HOT 4
- FTBFS due to call-test4.c missing HOT 2
- Make dist tarballs HOT 1
- Have ported to Haxe HOT 32
- Release? HOT 5
- Stack-based buffer overflow in the spiro_to_bpath0() function HOT 12
- Segmentation fault in call-test20 HOT 3
- use of undeclared identifier 'uint' HOT 4
- 'finite' is deprecated HOT 3
- Output Bézier splines not deterministic enough HOT 15
- Rust port HOT 10
- Please consider using `static const`'s for SPIRO_CORNER, SPIRO_G4, SPIRO_G2, etc. HOT 18
- Please consider changing bezctx* to void* most places HOT 4
- `make test` does nothing and should be removed; `make check` should be documented as "the right way to do it" HOT 5
- Crash in git master HOT 7
- Can't compile on xubuntu-12.04 32-bit HOT 2
- Cannot compile using parallel make HOT 2
- Update license headers HOT 4
- mipsel build issues HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libspiro.