LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-07-2018, 12:50 PM   #1
tahnoon
LQ Newbie
 
Registered: Jun 2018
Posts: 2

Rep: Reputation: Disabled
Angry make *** [all-recursive] Error while installing GEOS


Hi,I am a real noob at linux and just recently started using it.
So, when i was installing geos 3.3.3 for my python-basemap I got these error after entering the command make.


Code:
Makefile:373: recipe for target 'IndexedPointInAreaLocator.lo' failed
make[4]: *** [IndexedPointInAreaLocator.lo] Error 1
make[4]: Leaving directory '/usr/local/basemap-1.0.7/geos-3.3.3/src/algorithm/locate'
Makefile:392: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/usr/local/basemap-1.0.7/geos-3.3.3/src/algorithm/locate'
Makefile:444: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/usr/local/basemap-1.0.7/geos-3.3.3/src/algorithm'
Makefile:476: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/basemap-1.0.7/geos-3.3.3/src'
Makefile:368: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
I was following the install procedure from https://peak5390.wordpress.com/2012/...b-and-basemap/

I also tried all kinds of solution i could find on google, nothing seems to work. : (
 
Old 06-08-2018, 05:16 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 17,049

Rep: Reputation: 3459Reputation: 3459Reputation: 3459Reputation: 3459Reputation: 3459Reputation: 3459Reputation: 3459Reputation: 3459Reputation: 3459Reputation: 3459Reputation: 3459
Welcome to LQ.

Geos https://download.osgeo.org/geos/
Latest is geos-3.6.2.tar.bz2 : 2017.
Old geos-3.3.3.tar.bz2 https://download.osgeo.org/geos/geos-3.3.3.tar.bz2
Old (2012) means also that it's for an older compiler. Will fail with gcc-7.x .

I.e. use latest, or use gcc/g++ -4.8 ... -5 for geos-3.3.3 .
Build example ...
Code:
cd geos-3.3.3/
$ export CC=gcc-5 CXX=g++-5 && ./configure --enable-python
.
Swig: true
Python bindings: true
.
$ make               // No errors.
 
1 members found this post helpful.
Old 06-16-2018, 08:34 AM   #3
tahnoon
LQ Newbie
 
Registered: Jun 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by knudfl View Post
Welcome to LQ.

Geos https://download.osgeo.org/geos/
Latest is geos-3.6.2.tar.bz2 : 2017.
Old geos-3.3.3.tar.bz2 https://download.osgeo.org/geos/geos-3.3.3.tar.bz2
Old (2012) means also that it's for an older compiler. Will fail with gcc-7.x .

I.e. use latest, or use gcc/g++ -4.8 ... -5 for geos-3.3.3 .
Build example ...
Code:
cd geos-3.3.3/
$ export CC=gcc-5 CXX=g++-5 && ./configure --enable-python
.
Swig: true
Python bindings: true
.
$ make               // No errors.
Thank you, but i already fixed it with
Code:
sudo dnf install geos-devel
. Sorry for wasting your time : (
[Note : This thread is in Ubuntu forum cause I was using Ubuntu when i first encountered this error and posted here. Although I got into the same problem on Fedora 28]

Last edited by tahnoon; 06-16-2018 at 08:38 AM.
 
  


Reply

Tags
geos


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make: *** [install-recursive] Error 1 phantom_cyph Linux - Software 1 02-19-2008 10:06 PM
make: [all-recursive] Error 1 HPLIP kevinens Linux - Software 1 05-11-2006 01:39 PM
getting [all-recursive] Error 1 in Make of squid kbybee Linux - Software 5 05-01-2005 09:04 PM
make :recursive error appasamy Linux - Software 1 01-03-2005 12:01 AM
Stopping recursive make's on error Meatwad Programming 0 04-28-2004 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration