LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Install problem: File format not recognized (https://www.linuxquestions.org/questions/linux-software-2/install-problem-file-format-not-recognized-4175469688/)

essential1 07-15-2013 08:47 AM

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?

knudfl 07-15-2013 12:14 PM

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.)

-

essential1 07-15-2013 02:13 PM

Quote:

Originally Posted by knudfl (Post 4990684)
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!


All times are GMT -5. The time now is 03:10 AM.