LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-15-2013, 08:47 AM   #1
essential1
LQ Newbie
 
Registered: May 2012
Posts: 17

Rep: Reputation: Disabled
Install problem: File format not recognized


Hi all,

I am trying to install some software but am stuck on the install. I am using Ubuntu 1204, and trying to install software called PERM, from here.

The first two command line inputs specified within the contained install file are:

./configure --with-libxml --with-libxslt
gmake

Now I used make instead of gmake, and it seemed to be working, but then it stopped and gave me this error:

provrewrite.o: file not recognized: File format not recognized
make[4]: *** [SUBSYS.o] Error 1
make[4]: Leaving directory `/home/ma82/Downloads/postgresql-8.3.0/src/backend/provrewrite/main'
make[3]: *** [main-recursive] Error 2
make[3]: Leaving directory `/home/ma82/Downloads/postgresql-8.3.0/src/backend/provrewrite/'
make[2]: *** [provrewrite-recursive] Error 2
make[2]: Leaving directory `/home/ma82/Downloads/postgresql-8.3.0/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ma82/Downloads/postgresql-8.3.0/src'
make: *** [all] Error 2

Using google I can't find anything related to this error, and all the other discussed errors with this program seem to be about other things.
I really don't know how to proceed. Can anybody suggest what the problem might be please, or anything I should try?
 
Old 07-15-2013, 12:14 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
GNU make = /usr/bin/make = /usr/bin/gmake .


Quote:
provrewrite.o: file not recognized: File format not recognized
Your errors :
config/config.guess etc. will set your OS to e.g. `NeXT Mach`,
thus some files will be compiled to e.g. "Mach-8 i386".
Please try : $ file src/backend/provrewrite/main/provrewrite.o

Solution : $ cd postgresql-8.3.0/
$ make distclean
.. Which should delete all files.o, but not all alien files are gone :
Please do : $ rm src/backend/provrewrite/main/*.o

Configuring specifically for your OS :
./configure --with-libxml --with-libxslt --build=i686-pc-linux
( Or like --build=x86_64-pc-linux , if your OS is 64bits.)

-

Last edited by knudfl; 07-15-2013 at 12:19 PM.
 
Old 07-15-2013, 02:13 PM   #3
essential1
LQ Newbie
 
Registered: May 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
GNU make = /usr/bin/make = /usr/bin/gmake .



Your errors :
config/config.guess etc. will set your OS to e.g. `NeXT Mach`,
thus some files will be compiled to e.g. "Mach-8 i386".
Please try : $ file src/backend/provrewrite/main/provrewrite.o

Solution : $ cd postgresql-8.3.0/
$ make distclean
.. Which should delete all files.o, but not all alien files are gone :
Please do : $ rm src/backend/provrewrite/main/*.o

Configuring specifically for your OS :
./configure --with-libxml --with-libxslt --build=i686-pc-linux
( Or like --build=x86_64-pc-linux , if your OS is 64bits.)

-
thank you so much, that worked!
 
  


Reply



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
Makefile: file not recognized:File format not recognized collect2: ld returned 1 exit Bringo Linux - Software 9 12-20-2010 04:08 AM
[SOLVED] can't debug with gdb: not in executable format: File format not recognized (squeeze) oddiofile Debian 1 08-24-2010 03:21 AM
Compiler error : /usr/lib/libc.so: file not recognized: File format not recognized kreena Solaris / OpenSolaris 7 12-14-2009 02:51 AM
/usr/lib/libgd.so: file not recognized: File format not recognized kimjao Linux - Software 2 07-24-2009 11:46 AM
not in executable format: File format not recognized ypy13 Linux - Newbie 9 07-09-2008 11:33 PM

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

All times are GMT -5. The time now is 01:38 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