Forum > Other

i Just install Lazarus on freebsd

(1/2) > >>

nick1965:
I am trying to install Indy10 from package manager and i get error

Cannot Open Package file
Cannot Install package "indylaz.lpk"

sould i login as a root or something?

Answer:
yeap need to login as root.

BSaidus:
Go to where you download Indy package and install it manually

nick1965:
I logged in as root and the manager installed corectly
The problem now is that

I get error 232 when i try to use TidHttpserver


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---uses  IdContext,  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, IdHTTPServer, IdCustomHTTPServer; procedure TForm1.IdHTTPServer1CommandGet(AContext: TIdContext;  ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);beginaresponseinfo.contenttext:='Hello world';end;
What is the problem?

[Edited to add code tags - please read How to use the Forums.]

dbannon:

--- Quote from: nick1965 on November 15, 2021, 10:38:12 am ---sould i login as a root or something?

--- End quote ---

As a general rule, the answer to that question is almost always 'NO' !

All lazarus packages are installed in user space, doing it as root will leave some file owned by root, bad !

Davo

nick1965:
so explain me pelase why  when i try as root all packages installed corectly
and why when i try as single user i get error on package.

is it a lazarus Bug????

Navigation

[0] Message Index

[#] Next page

Go to full version