Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2007-09

can't install binary FPC 2.2 under Linux

7 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I've downloaded FPC 2.2 binary for Linux from SourceForge. I can't seem to install it? What does that error message mean? I don't do cross compiling and I run on a i386 computer (Intel P4 32bit processor).

---------------------------------
sudo ./fpc-2.2.0.i386-linux.tar
This shell script will attempt to install the Free Pascal Compiler version 2.2.0 with the items you select

Install prefix (/usr or /usr/local) [/usr/local] : /opt/fpc-2.2.0 No native FPC found.
For a proper installation of a cross FPC the installation of a native FPC is required.

----------------------------------------------

I've also tried specifying the /usr/local directory and still get the same error.

--------------------------------------
sudo ./fpc-2.2.0.i386-linux.tar
This shell script will attempt to install the Free Pascal Compiler version 2.2.0 with the items you select

Install prefix (/usr or /usr/local) [/usr/local] : No native FPC found.
For a proper installation of a cross FPC the installation of a native FPC is required.

------------------------------------------

For now I'll just check out the source from SVN and compile it manually - that always seem to work for me.

Regards,
- Graeme -

Reply by email

Graeme Geldenhuys
to Graeme Geldenhuys

Hi. I forgot to mention, I'm using Ubuntu 7.04 (if that helps). I'm going to try and manually unpack the .tar file and the internal .tar.gz files and see how that goes. :-(

Graeme.

Graeme Geldenhuys wrote 43 lines
Hi, I've downloaded FPC 2.2 binary for Linux from SourceForge. I can't seem to install it? What does that error message mean? I don't do cross compiling and I run on a i386 computer (Intel P4 32bit processor). --------------------------------- sudo ./fpc-2.2.0.i386-linux.tar This shell script will attempt to install the Free Pascal Compiler version 2.2.0 with the items you select Install prefix (/usr or /usr/local) [/usr/local] : /opt/fpc-2.2.0 No native FPC found. For a proper installation of a cross FPC the installation of a native FPC is required. ---------------------------------------------- I've also tried specifying the /usr/local directory and still get the same error. -------------------------------------- sudo ./fpc-2.2.0.i386-linux.tar This shell script will attempt to install the Free Pascal Compiler version 2.2.0 with the items you select Install prefix (/usr or /usr/local) [/usr/local] : No native FPC found. For a proper installation of a cross FPC the installation of a native FPC is required. ------------------------------------------ For now I'll just check out the source from SVN and compile it manually - that always seem to work for me. Regards, - Graeme -

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys
Graeme Geldenhuys wrote
Hi. I forgot to mention, I'm using Ubuntu 7.04 (if that helps). I'm going to try and manually unpack the .tar file and the internal .tar.gz files and see how that goes. :-(

Hehe,

the architecture detection went wrong again. Check what 'arch' gives on your system, and compare with the values in the setup script...

Michael.

Show quoted text 53 lines
Graeme. On 13/09/2007, Graeme Geldenhuys wrote: > Hi, > > I've downloaded FPC 2.2 binary for Linux from SourceForge. I can't > seem to install it? What does that error message mean? I don't do > cross compiling and I run on a i386 computer (Intel P4 32bit > processor). > > > --------------------------------- > sudo ./fpc-2.2.0.i386-linux.tar > This shell script will attempt to install the Free Pascal Compiler > version 2.2.0 with the items you select > > Install prefix (/usr or /usr/local) [/usr/local] : /opt/fpc-2.2.0 > No native FPC found. > For a proper installation of a cross FPC the installation of a native > FPC is required. > > ---------------------------------------------- > > I've also tried specifying the /usr/local directory and still get the > same error. > > -------------------------------------- > sudo ./fpc-2.2.0.i386-linux.tar > This shell script will attempt to install the Free Pascal Compiler > version 2.2.0 with the items you select > > Install prefix (/usr or /usr/local) [/usr/local] : > No native FPC found. > For a proper installation of a cross FPC the installation of a native > FPC is required. > > ------------------------------------------ > > > For now I'll just check out the source from SVN and compile it > manually - that always seem to work for me. > > > Regards, > - Graeme - > _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Graeme Geldenhuys
to Michael Van Canneyt
Michael Van Canneyt wrote 7 lines
Hehe, the architecture detection went wrong again. Check what 'arch' gives on your system, and compare with the values in the setup script... Michael.

On my system 'arch' returns: i686

No idea what the install.sh script was looking for. I guess i386? Just to make sure I wasn't going bonkers or blind, I double checked on SourceForge and there isn't a i686 download available. :-)

I have manually unpacked all the .tar.gz files and my FPC seems to work - so there doesn't seem to be a issue with the binary content, just the install.sh script. Though it still doesn't solve the binary install issue others might experience as well.

Graeme.

Reply by email

Joost van der Sluis
to Michael Van Canneyt: the architecture detection went wrong again. Check what 'arch' gives on your system, and…

Op donderdag 13-09-2007 om 09:02 uur [tijdzone +0200], schreef Michael Van Canneyt:

Show quoted text 11 lines
On Thu, 13 Sep 2007, Graeme Geldenhuys wrote: > Hi. I forgot to mention, I'm using Ubuntu 7.04 (if that helps). I'm > going to try and manually unpack the .tar file and the internal > .tar.gz files and see how that goes. :-( Hehe, the architecture detection went wrong again. Check what 'arch' gives on your system, and compare with the values in the setup script...

That shoudn't be relevant. fpc -iSP is used now?

Joost.

Reply by email

Michael Van Canneyt
to Joost van der Sluis
Joost van der Sluis wrote 17 lines
Op donderdag 13-09-2007 om 09:02 uur [tijdzone +0200], schreef Michael Van Canneyt: > > On Thu, 13 Sep 2007, Graeme Geldenhuys wrote: > > > Hi. I forgot to mention, I'm using Ubuntu 7.04 (if that helps). I'm > > going to try and manually unpack the .tar file and the internal > > .tar.gz files and see how that goes. :-( > > Hehe, > > the architecture detection went wrong again. Check what 'arch' gives > on your system, and compare with the values in the setup script... That shoudn't be relevant. fpc -iSP is used now?

Of course not, since it isn't installed yet... That would be a nice chicken and egg problem :)

Michael.

Reply by email