LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2012, 04:13 PM   #1
aafc
LQ Newbie
 
Registered: Sep 2012
Posts: 5

Rep: Reputation: Disabled
Blimps software - Weird compile errors during make install after a make depend


I am trying to install Blimps, which can be found here:

ftp://ncbi.nlm.nih.gov/repository/blocks/unix/blimps

After running 'make depend' (I just renamed Makefile.Linux to makefile), I was getting errors as makedepend couldn't find some header files. It automatically searches ../include, so all I did was locate the header files on my system and then created symlinks in ../include. At this point, makedepend works.

Now I need to make install, however after running it, I am getting a plethora of errors, such as:

In file included from ../include/global.h:15, from pattern.c:12:/usr/include/stdlib.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ctype_get_mb_cur_max'.

I am on x86_64 using CentOS. I'm not really sure what to do next. Any help would be appreciated. The readme said that you need an ANSI compiler, I'm using gcc so I'm not sure if that means anything.

EDIT: Seems like their ftp is down, hopefully it'll come back up soon.

Last edited by aafc; 09-18-2012 at 04:19 PM. Reason: link might be dead
 
Old 09-18-2012, 11:51 PM   #2
rosehosting.com
Member
 
Registered: Jun 2012
Location: Missouri, USA
Posts: 233

Rep: Reputation: 64
Most likely you are missing a C header file.

Quote:
Originally Posted by aafc View Post
I am trying to install Blimps, which can be found here:

ftp://ncbi.nlm.nih.gov/repository/blocks/unix/blimps

After running 'make depend' (I just renamed Makefile.Linux to makefile), I was getting errors as makedepend couldn't find some header files. It automatically searches ../include, so all I did was locate the header files on my system and then created symlinks in ../include. At this point, makedepend works.

Now I need to make install, however after running it, I am getting a plethora of errors, such as:

In file included from ../include/global.h:15, from pattern.c:12:/usr/include/stdlib.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ctype_get_mb_cur_max'.

I am on x86_64 using CentOS. I'm not really sure what to do next. Any help would be appreciated. The readme said that you need an ANSI compiler, I'm using gcc so I'm not sure if that means anything.

EDIT: Seems like their ftp is down, hopefully it'll come back up soon.
 
Old 09-19-2012, 10:51 AM   #3
aafc
LQ Newbie
 
Registered: Sep 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
make depend goes through every .c file and assembles a list of the headers I need. Since I can run make depend after symlinking the headers I don't think the issue is missing headers.
 
Old 09-19-2012, 11:07 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 15,617

Rep: Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120
at first posting only one line is not sufficient to find out the reason. Second: linking some headers may solve some issues, but may bring up several other issues, like: some other includes were not linked therefore cannot be found later. Some installed structures had been mixed, the result is an unusable bunch of files
 
  


Reply


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
libogg not installing, make and make install don't give errors, but fail lilmike Linux - Newbie 6 11-14-2009 08:33 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 04:01 AM
WineX Make Depend Errors Gryphix Linux - Games 4 09-25-2004 05:36 PM
Error in Make Depend while CVS install of WineX calmlikeabomb Mandriva 1 04-28-2004 06:46 PM
make install errors during kernel compile tharris Slackware 1 02-16-2004 11:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:01 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
Open Source Consulting | Domain Registration