Sign in Join

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

Mailing lists / fpc-pascal / 2015-09

Installing fpc

12 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

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

Steph Bredenhann

Dear Michael

When installing fpc I get the meassge "invalid user: ‘michael:michael’", do you have any suggestion on where I must chown?

You're assistance will be appreciated.

Kind regards

*/Steph Bredenhann/* PrEng, PrCPM (sent from SJB-Linux) ----
Michael Van Canneyt
to Steph Bredenhann
Steph Bredenhann wrote
Dear Michael When installing fpc I get the meassge "invalid user: ‘michael:michael’", do you have any suggestion on where I must chown?

Most likely, this is for the documentation.

What did you use to install FPC ?

Michael.

Tomas Hajny
to Michael Van Canneyt
Michael Van Canneyt wrote 11 lines
On Sun, 6 Sep 2015, Steph Bredenhann wrote: > Dear Michael > > When installing fpc I get the meassge "invalid user: ‘michael:michael’", > do > you have any suggestion on where I must chown? Most likely, this is for the documentation. What did you use to install FPC ?

Please note that the original poster is not subscribed to the mailing list (although he has not mentioned this fact in his post), so I'd suggest to include his address in Cc: of replies (done now, so he should have the first response quoted above).

Tomas

Steph Bredenhann
to Tomas Hajny: Please note that the original poster is not subscribed to the mailing list (although he…

Thanks for the reply, you are more than welcome to register my email on your mailing list. I got the email address in a google search when I searched for a solution.

To come back to the response on my email: I've started off by downloading the lazarus1.4.2.deb file (I use Ubuntu 14.04) and used gdebi and later dpkg without success, the message was consistently the fpc > 2.6.4 was required, and although I have installed fpc-2.6.4 the result remained the same.

So I downloaded the .tar fail and execute sudo ./install, that was when I got the message:

"invalid user: ‘michael:michael’"

*/Steph Bredenhann/* PrEng, PrCPM
(sent from SJB-Linux)
----

Tomas Hajny wrote 19 lines
On Mon, September 7, 2015 08:44, Michael Van Canneyt wrote: > On Sun, 6 Sep 2015, Steph Bredenhann wrote: > >> Dear Michael >> >> When installing fpc I get the meassge "invalid user: ‘michael:michael’", >> do >> you have any suggestion on where I must chown? > Most likely, this is for the documentation. > > What did you use to install FPC ? Please note that the original poster is not subscribed to the mailing list (although he has not mentioned this fact in his post), so I'd suggest to include his address in Cc: of replies (done now, so he should have the first response quoted above). Tomas
Michael Van Canneyt
to Joost van der Sluis: Michael, didn't you build the documentation using fakeroot? Joost.
Joost van der Sluis wrote 14 lines
On 09/07/2015 08:44 AM, Michael Van Canneyt wrote: > > > On Sun, 6 Sep 2015, Steph Bredenhann wrote: > >> Dear Michael >> >> When installing fpc I get the meassge "invalid user: >> ‘michael:michael’", do you have any suggestion on where I must chown? > > Most likely, this is for the documentation. Michael, didn't you build the documentation using fakeroot?

come again?

Michael.

Marco van de Voort
to Joost van der Sluis: Michael, didn't you build the documentation using fakeroot? Joost.

In our previous episode, Joost van der Sluis said:

Show quoted text 11 lines
> > On Sun, 6 Sep 2015, Steph Bredenhann wrote: > >> Dear Michael >> >> When installing fpc I get the meassge "invalid user: >> ?michael:michael?", do you have any suggestion on where I must chown? > > Most likely, this is for the documentation. Michael, didn't you build the documentation using fakeroot?

I thought the tar options were supposed to handle this? fakeroot was for the sources iirc.

Tomas Hajny
to Steph Bredenhann: Thanks for the reply, you are more than welcome to register my email on your mailing…

On Mon, September 7, 2015 22:36, Steph Bredenhann wrote:

Hello Steph,

Thanks for the reply, you are more than welcome to register my email on your mailing list. I got the email address in a google search when I searched for a solution.

If you decide to subscribe to the list, please, do it yourself on http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal (you can also set your delivery preferences there, etc.). More information on our mailing lists may be found via the link 'Mailing lists' on our homepage (http://www.freepascal.org).

Show quoted text 10 lines
To come back to the response on my email: I've started off by downloading the lazarus1.4.2.deb file (I use Ubuntu 14.04) and used gdebi and later dpkg without success, the message was consistently the fpc > 2.6.4 was required, and although I have installed fpc-2.6.4 the result remained the same. So I downloaded the .tar fail and execute sudo ./install, that was when I got the message: "invalid user: ‘michael:michael’"

OK, so if I understand it correctly, you refer to a tar file of Lazarus, right? (Otherwise please provide the exact .tar name or preferably the download URL.) While Lazarus and FPC cooperate closely, this mailing list is related to FPC (i.e. just the compiler plus RTL and other non-visual units supplied with it rather than the RAD / GUI IDE built on top of these) and you might be better asking questions about Lazarus releases in one of the fora on http://forum.lazarus.freepascal.org.

Hope this helps

Tomas

Sven Barth
to Tomas Hajny
"Tomas Hajny" wrote 18 lines
> To come back to the response on my email: I've started off by > downloading the lazarus1.4.2.deb file (I use Ubuntu 14.04) and used > gdebi and later dpkg without success, the message was consistently the > fpc > 2.6.4 was required, and although I have installed fpc-2.6.4 the > result remained the same. > > So I downloaded the .tar fail and execute sudo ./install, that was when > I got the message: > > "invalid user: ‘michael:michael’" OK, so if I understand it correctly, you refer to a tar file of Lazarus, right? (Otherwise please provide the exact .tar name or preferably the download URL.) While Lazarus and FPC cooperate closely, this mailing list is related to FPC (i.e. just the compiler plus RTL and other non-visual units supplied with it rather than the RAD / GUI IDE built on top of these) and you might be better asking questions about Lazarus releases in one of the fora on http://forum.lazarus.freepascal.org.

I do think that Steph means the FPC tar as Lazarus does AFAIK not have a tar-installer like FPC does...

Regards,
Sven

Tomas Hajny
to Sven Barth
Sven Barth wrote 25 lines
Am 08.09.2015 09:04 schrieb "Tomas Hajny" : > > To come back to the response on my email: I've started off by > > downloading the lazarus1.4.2.deb file (I use Ubuntu 14.04) and used > > gdebi and later dpkg without success, the message was consistently the > > fpc > 2.6.4 was required, and although I have installed fpc-2.6.4 the > > result remained the same. > > > > So I downloaded the .tar fail and execute sudo ./install, that was > when > > I got the message: > > > > "invalid user: ‘michael:michael’" > > OK, so if I understand it correctly, you refer to a tar file of Lazarus, > right? (Otherwise please provide the exact .tar name or preferably the > download URL.) While Lazarus and FPC cooperate closely, this mailing > list > is related to FPC (i.e. just the compiler plus RTL and other non-visual > units supplied with it rather than the RAD / GUI IDE built on top of > these) and you might be better asking questions about Lazarus releases > in > one of the fora on http://forum.lazarus.freepascal.org. I do think that Steph means the FPC tar as Lazarus does AFAIK not have a tar-installer like FPC does...

Alright, could be. However, if this is the case, I'm afraid that the resolution of the file owner in the tar installer may not solve the issue with requirements of the debian package for Lazarus mentioned at the beginning, because dpkg would probably not consider the dependency of the Lazarus .deb package on FPC 2.6.4 or higher as fulfilled if FPC was installed using the .tar installer rather than the appropriate .deb package. I may be completely wrong, of course, but that's what I would assume based on my (limited ;-) ) knowledge of dependency handling for dpkg, etc.

Tomas

Mattias Gaertner
to Tomas Hajny
[...] > I do think that Steph means the FPC tar as Lazarus does AFAIK not have a > tar-installer like FPC does...

True.
It provides a source tar (and a zip) though.

Show quoted text 9 lines
Alright, could be. However, if this is the case, I'm afraid that the resolution of the file owner in the tar installer may not solve the issue with requirements of the debian package for Lazarus mentioned at the beginning, because dpkg would probably not consider the dependency of the Lazarus .deb package on FPC 2.6.4 or higher as fulfilled if FPC was installed using the .tar installer rather than the appropriate .deb package. I may be completely wrong, of course, but that's what I would assume based on my (limited ;-) ) knowledge of dependency handling for dpkg, etc.

Correct. You can force it, but I would not recommend that.

If you can install Lazarus via dpkg then I recommend to install fpc via dpkg too.
If you can't install FPC via dpkg, see below for compiling Lazarus on a debian system:
http://wiki.lazarus.freepascal.org/Installing_Lazarus#Downloading_Lazarus_Source_Code

Mattias

Tomas Hajny
to Mattias Gaertner
Mattias Gaertner wrote
On Tue, 8 Sep 2015 11:21:18 +0200 "Tomas Hajny" wrote:

Sharing the response from Mattias Gaertner (for Lazarus) below with the original poster in Cc: (since he isn't subscribed to the mailing list).

Tomas

Show quoted text 35 lines
>[...] > > I do think that Steph means the FPC tar as Lazarus does AFAIK not have > a > > tar-installer like FPC does... True. It provides a source tar (and a zip) though. > Alright, could be. However, if this is the case, I'm afraid that the > resolution of the file owner in the tar installer may not solve the > issue > with requirements of the debian package for Lazarus mentioned at the > beginning, because dpkg would probably not consider the dependency of > the > Lazarus .deb package on FPC 2.6.4 or higher as fulfilled if FPC was > installed using the .tar installer rather than the appropriate .deb > package. I may be completely wrong, of course, but that's what I would > assume based on my (limited ;-) ) knowledge of dependency handling for > dpkg, etc. Correct. You can force it, but I would not recommend that. If you can install Lazarus via dpkg then I recommend to install fpc via dpkg too. If you can't install FPC via dpkg, see below for compiling Lazarus on a debian system: http://wiki.lazarus.freepascal.org/Installing_Lazarus#Downloading_Lazarus_Source_Code Mattias _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal