fail to install Lazarus 2.2.6 on KaOS Linux lazarus / 1-Linux ---------------------------------------------------------------------- raerband · 2023-10-24 15:52 I downloaded the tar file from sourceforge. Extract it but there is nothing file/command to install it. How to do? Regards ---------------------------------------------------------------------- af0815 · 2023-10-24 16:10 Have you installed fpc before ? Nomal you can work with make. Is make available on your system ? ---------------------------------------------------------------------- marcov · 2023-10-24 16:26 If the TAR is the source, you need a FPC install to compile FPC. If the TAR is a binary distribution, there should be an install.sh script. ---------------------------------------------------------------------- raerband · 2023-10-24 16:48 Quote from: af0815 on October 24, 2023, 06:10:06 pmHave you installed fpc before ? Nomal you can work with make. Is make available on your system ? Yes, I installed FPC before. I downloaded it from the official website freepascal.org. there is install.sh inside the FPC tar file. it looks like successfully installed. Quote from: marcov on October 24, 2023, 06:26:50 pmThere should be an install.sh script. There is not install.sh file inside the Lazarus tar file. ---------------------------------------------------------------------- marcov · 2023-10-24 16:50 What happens if you do Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i make bigide in the lazarus dir ? If that fails, paste the output of "make info" ---------------------------------------------------------------------- raerband · 2023-10-24 16:59 Quote from: marcov on October 24, 2023, 06:50:22 pmWhat happens if you do Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i make bigide in the lazarus dir ? If that fails, paste the output of "make info"  raerband  ~  Téléchargements  lazarus  make bigide make -C packager/registration make[1] : on entre dans le répertoire « /home/raerband/Téléchargements/lazarus/packager/registration » /usr/bin/rm -f ../units/x86_64-linux/fcllaz.ppu /usr/bin/rm: impossible de supprimer '../units/x86_64-linux/fcllaz.ppu': Permission non accordée make[1]: [Makefile:3826: cleartarget] Error 1 (ignorée) make[1]: stat: ../units/x86_64-linux : Permission non accordée /usr/bin/mkdir -p ../units/x86_64-linux /usr/bin/mkdir: impossible de créer le répertoire « ../units »: Permission non accordée make[1]: *** [Makefile:3387: ../units/x86_64-linux] Error 1 make[1] : on quitte le répertoire « /home/raerband/Téléchargements/lazarus/packager/registration » make: *** [Makefile:3800: registration] Error 2  raerband  ~  Téléchargements  lazarus   below is the result of make info  raerband  ~  Téléchargements  lazarus  make info == Package info == Package Name..... lazarus Package Version.. 2.2.6 == Configuration info == FPC.......... /usr/bin/ppcx64 FPC Version.. 3.2.2 Source CPU... x86_64 Target CPU... x86_64 Source OS.... linux Target OS.... linux Full Source.. x86_64-linux Full Target.. x86_64-linux SourceSuffix. x86_64-linux TargetSuffix. x86_64-linux FPC fpmake... /usr/bin/ppcx64 == Directory info == Required pkgs... rtl regexpr Basedir......... /home/raerband/Téléchargements/lazarus FPCDir.......... /usr/lib/fpc/3.2.2 CrossBinDir..... UnitsDir........ /usr/lib/fpc/3.2.2/units/x86_64-linux PackagesDir..... /usr/lib/fpc/3.2.2 GCC library..... /usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0 Other library... == Tools info == As........ as Ld........ ld Ar........ ar Rc........ rc Mv........ /usr/bin/mv Cp........ /usr/bin/cp Rm........ /usr/bin/rm GInstall.. /usr/bin/install Echo...... /usr/bin/echo Shell..... /bin/sh Date...... /usr/bin/date FPCMake... /usr/bin/fpcmake PPUMove... /usr/bin/ppumove Zip....... /usr/bin/zip == Object info == Target Loaders........ Target Units.......... Target Implicit Units. Target Programs....... lazarus startlazarus lazbuild Target Dirs........... Target Examples....... Target ExampleDirs.... Clean Units......... Clean Files......... Install Units....... Install Files....... == Install info == DateStr.............. 20231024 ZipName.............. lazarus ZipPrefix............ ZipCrossPrefix....... ZipSuffix............ .x86_64-linux FullZipName.......... lazarus.x86_64-linux Install FPC Package.. n Install base dir..... share/lazarus Install binary dir... /usr/local/bin Install library dir.. /usr/local/lib Install units dir.... share/lazarus/units/x86_64-linux/lazarus Install source dir... /usr/local/share/src/fpc-3.2.2/lazarus Install doc dir...... /usr/local/share/doc/fpc-3.2.2/lazarus Install example dir.. /usr/local/share/doc/fpc-3.2.2/lazarus/examples Install data dir..... share/lazarus Dist destination dir. /home/raerband/Téléchargements/lazarus/dist Dist zip name........  raerband  ~  Téléchargements  lazarus   Regards ---------------------------------------------------------------------- marcov · 2023-10-24 17:17 If my limited French serves mer right, it seems you don't have adequate permissions in the lazarus dir. Needs a bit of chmod and chown'ing to match the read/write/execute permissions to your account ---------------------------------------------------------------------- raerband · 2023-10-25 02:23 Quote from: marcov on October 24, 2023, 07:17:21 pmIf my limited French serves mer right, it seems you don't have adequate permissions in the lazarus dir. Needs a bit of chmod and chown'ing to match the read/write/execute permissions to your account After sudo make bigide, below is the last screenshot ---------------------------------------------------------------------- TRon · 2023-10-25 03:24 https://wiki.lazarus.freepascal.org/Lazarus_FAQ#I_receive_an_error_dur ing_the_linking_that_states_.2Fusr.2Fbin.2Fld:_cannot_find_- l.3Csome_lib.3E https://wiki.lazarus.freepascal.org/GTK2_Interface#Quick_start_guide_f or_Linux.2C_FreeBSD.2C_etc That is, assuming you run a gtk2 desktop or want to target gtk2 widgetset. I don't even know if the Lazarus build automatically detects the correct/default desktop interface. Quote from: raerband on October 25, 2023, 04:23:20 amAfter sudo make bigide The Lazarus build does not require any elevated rights, unless you specifically tell it to install somewhere where those rights are required (but since the commandline only contains make ...). edit: On second thought, nevermind all the above. You seem to be using a distribution that wants to do things in its own way, not adhering to any standard, does not want to rely on symlinks etc. I would suggest to read their manual on how you are suppose to setup their OS for development. ---------------------------------------------------------------------- dbannon · 2023-10-25 12:16 Firstly, by running make as root, you will have left a whole pile of root owned files in your install directory. Always a bad thing. So, clean that up, possibly by blowing that directory away and unzipping (zip ? tar ? etc ) the source files again. Then, find out why you don't have write permission  in your home directory, maybe thats the first thing to do ? Thirdly, its appears Lazarus is trying to build a gtk2 version, probably a good choice, but you have not installed the dependencies, please see https://wiki.freepascal.org/Installing_Lazarus_on_Linux#Bui ld_Lazarus_from_Source especially the second   Note: Dependencies. But don't even think about that step until you have solved that write in your own dir issue and cleaned up the root files one way or another. Davo