Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Lazarus doesn't compile correctly on Linux Mint 15 10 years 4 months ago #4698

  • Adular
  • Adular's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 2
Hello everyone!

I have a fresh installation of Linux Mint 15 (Olivia).
The i installed CodeTyphon 4.50 as normal user (sudo is possible).
The Installation finished without problems.
Compiling and running of a sample Project (empty Application without any selfmade code)
is possible, but only the first time.
Before i could run this program for the second time, i have to delete the files in .../project1/lib/linux-i386 manually.

Has anyone an idea?

Please Log in or Create an account to join the conversation.

Last edit: by Adular. Reason: solved

Lazarus doesn't compile correctly on Linux Mint 15 10 years 4 months ago #4699

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Sir, my suggestion is to
re-install CT as normal user (sh ./install.sh)
NOT as power user (sudo sh ./install.sh)
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Adular

Please Log in or Create an account to join the conversation.

Lazarus doesn't compile correctly on Linux Mint 15 10 years 4 months ago #4700

  • Adular
  • Adular's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 2
Ok, it works after
  • remove all via codetyphon
  • remove /usr/lib/codetyphon via sudo rm -r /usr/lib/codetyphon
  • remove /usr/bin/codetyphon via sudo rm /usr/bin/codetyphon
  • checking if lazarus or fpc is installed via synaptic (no, wasn't)
  • remove /usr/lib/fpc 2.6.2 via sudo rm -r /usr/lib/fpc 2.6.2 (where is this coming from??)
  • installing via sh ./install.sh etc.


Thank you!

Please Log in or Create an account to join the conversation.

Lazarus doesn't compile correctly on Linux Mint 15 10 years 4 months ago #4701

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Thanks Sir
we put in CT lab,
a new check procedure in Unix install script
to solve for this problem
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Lazarus doesn't compile correctly on Linux Mint 15 10 years 4 months ago #4720

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
I had the same problem, but for me having no special and/or national characters in the project's directory path did the trick :)
Also I still cn't run CT Center (v 4.5) as a normal user, only as the superuser.
コンソールマニアック

Please Log in or Create an account to join the conversation.

Lazarus doesn't compile correctly on Linux Mint 15 10 years 4 months ago #4734

  • Rain
  • Rain's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 69
  • Thank you received: 8
For me, this helped (quick and dirty):
cd ~
chmod 777 .typhon64
cd .typhon64
chmod 777 *
Now there is no need anymore to use Typhon as root.
The following user(s) said Thank You: 4aiman

Please Log in or Create an account to join the conversation.

Lazarus doesn't compile correctly on Linux Mint 15 10 years 4 months ago #4738

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
777 isn't too good for my multi-user environment (even if there's nothing special in this particular folder) :)
I just created launcher icon with "gksu typhon %u". Having this done I'm able to build everything from CT Center and enter my password only once before it's launch - kinda "Run as Administrator" from Win7 :)

But thanks anyway - there are some friend of mine who will use this for sure :)
コンソールマニアック

Please Log in or Create an account to join the conversation.

Lazarus doesn't compile correctly on Linux Mint 15 10 years 4 months ago #4739

  • Rain
  • Rain's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 69
  • Thank you received: 8
Ok, in that case here a not dirty and even shorter version:

Example: in user1 homedir (assuming user1 is in group user1):
sudo chown -hR user1:user1 .typhon64
The correct group for the user can be seen in the user's home dir with the ls -l command.

(In my installations I always end up with that .typhon64 directory to be owned by root:root after the installation, therefore the permission / owner resetting is necessary)

Please Log in or Create an account to join the conversation.

Last edit: by Rain.

Lazarus doesn't compile correctly on Linux Mint 15 10 years 4 months ago #4740

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
In new lab CT 4.6 we add
a new function to Typhon IDE to restore IDE defaults
if the user is not the installation user (.typhonXX not exists) and give 777 permission to .typhonXX
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Lazarus doesn't compile correctly on Linux Mint 15 10 years 4 months ago #4741

  • goldqq
  • goldqq's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
4.6??? where???

Please Log in or Create an account to join the conversation.

Lazarus doesn't compile correctly on Linux Mint 15 10 years 4 months ago #4742

  • avra
  • avra's Avatar
  • Visitor
  • Visitor

MarkLy wrote: 4.6??? where???

Sternas said lab 4.6, which means it is not yet public.

Please Log in or Create an account to join the conversation.

Lazarus doesn't compile correctly on Linux Mint 15 10 years 4 months ago #4743

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Guys, LAB CT 4.6
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1