Sign in Join

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

Mailing lists / lazarus / 1999-05

HELP ! I'm a DOS user :)

11 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Cliff Baeseman
to Paul TOTH: I've installed RedHat 4.2 (Biltmore) Kernel 2.0.30 on an i486 under "root" with : $BASH =…

Guys maybe you know but will FPC run on a older linux ditribution like this?

The rpm is telling you that it has some file requirements that must be met before installing the package.

Cliff

Earlier message 29 lines
-----Original Message----- From: Paul TOTH Sent: Thursday, May 13, 1999 7:47 AM To: Subject: [lazarus] HELP ! I'm a DOS user :) I've installed RedHat 4.2 (Biltmore) Kernel 2.0.30 on an i486 under "root" with : $BASH = /bin/bash $BASH_VERSION = 1.14.7(1) rpm -i fpc-0_99_10-1_i386.rpm failed dependencies: /bin/sh is needed by fpc-0.99.10-1 /bin/sh is needed by fpc-0.99.10-1 what's wrong ? -- Paul TOTH http://www.multimania.com/tothpaul/home.shtml _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Paul TOTH

Hi Cliff,

Guys maybe you know but will FPC run on a older linux ditribution like this?

so, Linux is not so far from Microsoft, you need the last version to do something ?

The rpm is telling you that it has some file requirements that must be met before installing the package.

well, and which version do I need ?

Thank's
Paul

Reply by email

Michael Anthon
to Paul TOTH: I'll try, but I think RedHat have made it for me.../bin/sh exist as a link to /bin/bash...

I'm not sure what your problem is. Any standard (even very basic) install of ANY RH system should include /bin/sh, either as a sym link to bash or some other shell, or a real sh, depending on what you select to install.

The only time I have ever seen this sort of thing is when a package is installed by hand so that RPM does not know about it (this message is telling you that the /bin/sh file/link was not installed by RPM, not that is not there). It could be a glitch in RPM as well. You should be able to override this by doing "rpm -i -nodep fpc-0_99_10-1_i386.rpm"

Cheers
Michael Anthon

Paul TOTH wrote 12 lines
Thank's Marco, I'll try, but I think RedHat have made it for me.../bin/sh exist as a link to /bin/bash... remember that I'm NOT a Linux user for now :) just a good Pascal programer BTW: I've downloaded the ELF_tar.gz version. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Paul TOTH

Thank's Marco,
I'll try, but I think RedHat have made it for me.../bin/sh exist as a link to /bin/bash...
remember that I'm NOT a Linux user for now :) just a good Pascal programer

BTW: I've downloaded the ELF_tar.gz version.

Reply by email

Marco van de Voort
to Paul TOTH: I've installed RedHat 4.2 (Biltmore) Kernel 2.0.30 on an i486 under "root" with : $BASH =…
Show quoted text 11 lines
I've installed RedHat 4.2 (Biltmore) Kernel 2.0.30 on an i486 under "root" with : $BASH = /bin/bash $BASH_VERSION = 1.14.7(1) rpm -i fpc-0_99_10-1_i386.rpm failed dependencies: /bin/sh is needed by fpc-0.99.10-1 /bin/sh is needed by fpc-0.99.10-1

sh is the old shell, which is used for scripts. The shell which is currently closest to SH is bash so simply softlink them:

cd /bin
ln -s bash sh

Marco van de Voort ()
<http://www.stack.nl/~marcov/xtdlib.htm>

Reply by email

Cliff Baeseman
to Peter Vreman: This dependency is automaticly added by RPM. I couldn't remove it. Don't know why it has…

I think there is a way to overide this in the spec file I will look that up tonight.

Peter do you have the spec file for the compiler rpm build. ? Not worried about it at the moment but could come in handy for the future...

Cliff

Earlier message 34 lines
-----Original Message----- From: Peter Vreman Sent: Thursday, May 13, 1999 4:40 PM To: Subject: Re: [lazarus] HELP ! I'm a DOS user :) > > I've installed RedHat 4.2 (Biltmore) > > Kernel 2.0.30 on an i486 > > > > under "root" with : > > $BASH = /bin/bash > > $BASH_VERSION = 1.14.7(1) > > > > rpm -i fpc-0_99_10-1_i386.rpm > > failed dependencies: > > /bin/sh is needed by fpc-0.99.10-1 > > /bin/sh is needed by fpc-0.99.10-1 > > sh is the old shell, which is used for scripts. The shell which is currently closest > to SH is bash so simply softlink them: > > cd /bin > ln -s bash sh This dependency is automaticly added by RPM. I couldn't remove it. Don't know why it has been added. Peter _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Peter Vreman
to Cliff Baeseman
Show quoted text 49 lines
I think there is a way to overide this in the spec file I will look that up tonight. Peter do you have the spec file for the compiler rpm build. ? Not worried about it at the moment but could come in handy for the future... Cliff -----Original Message----- From: Peter Vreman Sent: Thursday, May 13, 1999 4:40 PM To: Subject: Re: [lazarus] HELP ! I'm a DOS user :) > > I've installed RedHat 4.2 (Biltmore) > > Kernel 2.0.30 on an i486 > > > > under "root" with : > > $BASH = /bin/bash > > $BASH_VERSION = 1.14.7(1) > > > > rpm -i fpc-0_99_10-1_i386.rpm > > failed dependencies: > > /bin/sh is needed by fpc-0.99.10-1 > > /bin/sh is needed by fpc-0.99.10-1 > > sh is the old shell, which is used for scripts. The shell which is currently closest > to SH is bash so simply softlink them: > > cd /bin > ln -s bash sh This dependency is automaticly added by RPM. I couldn't remove it. Don't know why it has been added. Peter _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Name: fpc
Version: 0.99.10
Release: 1
ExclusiveArch: i386
Copyright: GPL
Group: Development/Languages
Source: fpc-0.99.10-src.tar.gz
Summary: Free Pascal Compiler
Packager: Michael Van Canneyt ()
URL: http://tfdec1.fys.kuleuven.ac.be/~michael/fpc/fpc.html

%description
The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi II compatible 32bit Pascal Compiler. It comes with fully TP 7.0 compatible run-time library. Some extensions are added to the language, like function overloading. Shared and static libraries can be linked and created. Linking with C libraries is easy, so interfaces can be written fast.

%define package fpc-%{PACKAGE_VERSION}
%define bindir /usr/bin
%define libdir /usr/lib/fpc
%define vlibdir %{libdir}/%{PACKAGE_VERSION}
%define unitdir %{vlibdir}/linuxunits

%prep
%setup -c

%build
make -C compiler cycle RELEASE=1
make -C rtl/utils all RELEASE=1

%install
make -C compiler install BININSTALLDIR=%{bindir} LIBINSTALLDIR=%{vlibdir} make -C rtl/linux install UNITINSTALLDIR=%{unitdir} make -C rtl/linux libinstall UNITINSTALLDIR=%{unitdir} PPUMOVE=../utils/ppumove make -C rtl/utils install BININSTALLDIR=%{bindir} UNITINSTALLDIR=%{unitdir}

%clean
make -C compiler clean
make -C rtl/utils clean
make -C rtl/linux libsclean

%post
%{vlibdir}/samplecfg %{vlibdir} `dirname \`find /usr/lib/gcc-lib/ -name libgcc.a -print | grep -v egcs \`` ldconfig

%files
%{bindir}/ppc386
%{bindir}/ppudump
%{bindir}/ppumove
%{bindir}/h2pas
%{vlibdir}
/usr/lib/libfpc.so
%dir %{libdir}

Reply by email

Marco van de Voort
to Marco van de Voort: sh is the old shell, which is used for scripts. The shell which is currently closest to…
> cd /bin > ln -s bash sh This dependency is automaticly added by RPM. I couldn't remove it. Don't know why it has been added.

It's very common. /bin/sh is one of the few things under Linux you can rely on.

Do you let RPM execute some shellscript? Then probably it reads

#!/bin/sh

in the first line, and that's probably where the dependancy comes from.

/bin/sh should point to the default shell for executing scripts, preferably in a 'sh' compatible way (read BASH Bourne Again SH). I don't think you want to remove that dependancy, because it SHOULD be there.
Marco van de Voort ()
<http://www.stack.nl/~marcov/xtdlib.htm>

Reply by email

Peter Vreman
to Marco van de Voort: sh is the old shell, which is used for scripts. The shell which is currently closest to…
Show quoted text 17 lines
> I've installed RedHat 4.2 (Biltmore) > Kernel 2.0.30 on an i486 > > under "root" with : > $BASH = /bin/bash > $BASH_VERSION = 1.14.7(1) > > rpm -i fpc-0_99_10-1_i386.rpm > failed dependencies: > /bin/sh is needed by fpc-0.99.10-1 > /bin/sh is needed by fpc-0.99.10-1 sh is the old shell, which is used for scripts. The shell which is currently closest to SH is bash so simply softlink them: cd /bin ln -s bash sh

This dependency is automaticly added by RPM. I couldn't remove it. Don't know why it has been added.

Peter

Reply by email

Peter Vreman
to Peter Vreman
you wrote 18 lines
> > cd /bin > > ln -s bash sh > This dependency is automaticly added by RPM. I couldn't remove it. Don't > know why it has been added. It's very common. /bin/sh is one of the few things under Linux you can rely on. Do you let RPM execute some shellscript? Then probably it reads #!/bin/sh in the first line, and that's probably where the dependancy comes from. /bin/sh should point to the default shell for executing scripts, preferably in a 'sh' compatible way (read BASH Bourne Again SH). I don't think you want to remove that dependancy, because it SHOULD be there.

Yes, there is a script 'samplecfg' which creates the /etc/ppc386.cfg

Reply by email