Sign in Join

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

Mailing lists / lazarus / 2014-02

Lazarus 1.2 RC2 Asking for /usr/share/fpcsrc/2.4.4/?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Allan E. Registos

Environment: Ubuntu 12.04.4 32-bit
Downloaded from sf the required fpc 2.6.2 versions of binary and source and installed them. Lazarus 1.2 RC2 will show this error at start:
Directory: /usr/share/fpcsrc/2.4.4/

Error: directory not found
You can download FPC and the FPC sources from http://sourceforge.net/projects/lazarus/?source=directory

And when point to the correct source will show this error:

Directory: /usr/share/fpcsrc/2.6.2/

Warning: Found version 2.6.2, expected 2.4.4
You can download FPC and the FPC sources from http://sourceforge.net/projects/lazarus/?source=directory

It won't recognize 2.6.2. My first problem is that I've installed the previous version of lazarus 0.9.30.4, which I think caused this problem. I've removed already this version with dpkg -r lazarus-* and dpkg -r lcl-* and deleted the folder manually at /usr/share/lazarus. Is there something I can do?

Regards,
Allan

leledumbo
to Allan E. Registos

Allan E. Registos wrote

Show quoted text 23 lines
Environment: Ubuntu 12.04.4 32-bit Downloaded from sf the required fpc 2.6.2 versions of binary and source and installed them. Lazarus 1.2 RC2 will show this error at start: Directory: /usr/share/fpcsrc/2.4.4/ Error: directory not found You can download FPC and the FPC sources from http://sourceforge.net/projects/lazarus/?source=directory And when point to the correct source will show this error: Directory: /usr/share/fpcsrc/2.6.2/ Warning: Found version 2.6.2, expected 2.4.4 You can download FPC and the FPC sources from http://sourceforge.net/projects/lazarus/?source=directory It won't recognize 2.6.2. My first problem is that I've installed the previous version of lazarus 0.9.30.4, which I think caused this problem. I've removed already this version with dpkg -r lazarus-* and dpkg -r lcl-* and deleted the folder manually at /usr/share/lazarus. Is there something I can do?

It checks for the correct version by checking fpc (should normally be in /usr/bin). Try running fpc -l on terminal, do you get 2.6.2? If not, check where ppc386 points to (it should be a symlink to the real compiler, ls -l will tell you). Note that fpc directory is located in /usr/lib/fpc so you might want to check that.

Allan E. Registos
to leledumbo
leledumbo wrote 26 lines
Allan E. Registos wrote > Environment: Ubuntu 12.04.4 32-bit > Downloaded from sf the required fpc 2.6.2 versions of binary and source > and installed them. > Lazarus 1.2 RC2 will show this error at start: > Directory: /usr/share/fpcsrc/2.4.4/ > > Error: directory not found > You can download FPC and the FPC sources from > http://sourceforge.net/projects/lazarus/?source=directory > > And when point to the correct source will show this error: > > Directory: /usr/share/fpcsrc/2.6.2/ > > Warning: Found version 2.6.2, expected 2.4.4 > You can download FPC and the FPC sources from > http://sourceforge.net/projects/lazarus/?source=directory > > It won't recognize 2.6.2. My first problem is that I've installed the > previous version of lazarus 0.9.30.4, which I think caused this problem. > I've removed already this version with dpkg -r lazarus-* and dpkg -r lcl-* > and deleted the folder manually at /usr/share/lazarus. > Is there something I can do? It checks for the correct version by checking fpc (should normally be in /usr/bin). Try running fpc -l on terminal, do you get 2.6.2? If not, check

Tried, and I'm getting 2.7.1, thats because I've installed codetyphon temporarily to compile, install and run a program I've just made.

where ppc386 points to (it should be a symlink to the real compiler, ls -l

It points now to codetyphon version. So I've remove all of them, install fpc, fpc-src then finally lazarus, and now it works.

Thanks for helping me...

Regards...

Show quoted text 14 lines
will tell you). Note that fpc directory is located in /usr/lib/fpc so you might want to check that. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-1-2-RC2-Asking-for-usr-share-fpcsrc-2-4-4-tp4035923p4035924.html Sent from the Free Pascal - Lazarus mailing list . -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4267 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140222/178ff5bc/attachment.bin>