Recent

Author Topic: How to config? (and missing wincrt)  (Read 12406 times)

ursatempest

  • New Member
  • *
  • Posts: 13
Re: How to config? (and missing wincrt)
« Reply #15 on: October 15, 2016, 04:08:48 am »
Alright, I reinstalled Lazarus after the purge. I got some strange result... especially near the end.

http://pastebin.com/TwGeCpQr

What's update-alternatives mean anyway?

lainz

  • Hero Member
  • *****
  • Posts: 4742
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: How to config? (and missing wincrt)
« Reply #16 on: October 15, 2016, 04:35:37 am »
@lainz:
sorry, now i read (too lat) that you also have 64 bit version installed.

Are you sure crt unit is available for that target ?
yes.

Alright, I reinstalled Lazarus after the purge. I got some strange result... especially near the end.

http://pastebin.com/TwGeCpQr

What's update-alternatives mean anyway?
http://askubuntu.com/questions/233190/what-exactly-does-update-alternatives-do

ursatempest

  • New Member
  • *
  • Posts: 13
Re: How to config? (and missing wincrt)
« Reply #17 on: October 15, 2016, 04:41:40 am »
Alright, after I've purged Lazarus it still somehow retain the config and opened the last .pas I opened.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12764
  • FPC developer.
Re: How to config? (and missing wincrt)
« Reply #18 on: October 15, 2016, 04:37:23 pm »
Probably somehwere in your homedir there is still configuration ~/lazarus or ~/.config/lazarus or something like that.

Thaddy

  • Hero Member
  • *****
  • Posts: 18911
  • Glad to be alive.
Re: How to config? (and missing wincrt)
« Reply #19 on: October 15, 2016, 05:06:42 pm »
Yes, try: ls -a
That will also show hidden stuff.
Recovered from removal of tumor in tongue following tongue reconstruction with a part from my leg.

ursatempest

  • New Member
  • *
  • Posts: 13
Re: How to config? (and missing wincrt)
« Reply #20 on: October 16, 2016, 01:22:47 am »
So in a fit of madness I decided to just re-install to Ubuntu 16.04!

Well, kind of. I'm still in the backing-up process. But anyway...

Is there a tutorial of installing FPC and Lazarus on fresh Ubuntu install? Preferably, in the way that's understandable by newb.

EDIT: I was checking my Bash history, and... hmm, did I do something wrong? Here is how I install FPC and Lazarus:

Code: [Select]
sudo apt-get install fp-compiler
sudo apt-get install lazarus

And then I realized I can't compile a test program, so I decided to remove Lazarus..

Code: [Select]
sudo apt-get remove lazarus
sudo apt-get remove lazarus-ide
sudo apt-get remove lazarus-ide-1.6
sudo apt-get fp-ide
sudo apt-get install fp-ide

It still doesn't quite work, though.

Code: [Select]
fpc -vut persegi.pas
fpc
fp
fpc -vut persegi.pas
fpc -Fu
fpc -Fu persegi.pas

So I decided to remove everything again...

Code: [Select]
sudo apt-get remove fpc
sudo apt-get remove fp
sudo apt-get remove fp-ide
sudo apt-get remove fp-doc
cd application
cd Application
cd fpc

... and installed from tar. In retrospect, I suspect it is one of the terrible decision I made.

Code: [Select]
sudo sh install.sh
fp

It's not in the history, but I think this is the part where I try to compile the test pascal again and find out it doesn't work. So I decided to remove it again...

Code: [Select]
sudo apt-get remove fpc
sudo apt autoremove
sudo apt-get fpc
sudo apt-get fp
sudo apt-get remove lazarus
sudo apt autoremove
sudo apt-get remove fp-compiler
sudo apt autoremove

But since it's installed from tar, it's not removed, much to my dismay.

Code: [Select]
fp

So I give-up, and decided to just download every vaguely pascal-thing in repo.

Code: [Select]
sudo apt-get remove fp
sudo apt-get remove fp-ide
sudo apt-get remove free_pascal
apt list --installed >~/Desktop/package
apt list --installed
sudo apt-get install fp-compiler
sudo apt-get install fp-ide
sudo apt-get install fp-units-base
fp
sudo apt-get fp-units-fcl-3.0.0
sudo apt-get install fp-units-fcl-3.0.0
sudo apt-get install fp-units-rtl
fp
sudo apt-get install fp-units-math
sudo apt-get install fp-units-misc
fp
sudo apt-get remove fp-compiler
sudo apt-get remove fp-ide
sudo apt autoremove
sudo apt-get remove fp-units-base
sudo apt-get remove fpc
sudo apt-get remove fp-units-math
sudo apt autoremove
sudo apt-get remove fp-units-misc
sudo apt autoremove
sudo apt-get remove fp-units-fcl-3.0.0
sudo apt autoremove
sudo apt-get remove fp-units-rtl
sudo apt autoremove
sudo apt-get remove fp-units-fcl-3.0.0

Alas, it's still doesn't work.

And that's why I decided to just reinstall everything.
« Last Edit: October 16, 2016, 01:41:44 am by ursatempest »

lainz

  • Hero Member
  • *****
  • Posts: 4742
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: How to config? (and missing wincrt)
« Reply #21 on: October 16, 2016, 01:31:13 am »
Just download the deb and install them in this order:
- fpc
- fpc-src
- lazarus

That works for me in Ubuntu 16.04.

ursatempest

  • New Member
  • *
  • Posts: 13
Re: How to config? (and missing wincrt)
« Reply #22 on: October 16, 2016, 01:42:57 am »
Download from repo, or as .deb files?

Thanks!

lainz

  • Hero Member
  • *****
  • Posts: 4742
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: How to config? (and missing wincrt)
« Reply #23 on: October 16, 2016, 01:59:03 am »
I downloaded from sourceforge.

ursatempest

  • New Member
  • *
  • Posts: 13
Re: How to config? (and missing wincrt)
« Reply #24 on: October 16, 2016, 07:07:10 am »
I don't see any .deb on /3.0.0/, though? Just .tar and folder marked RPM?

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4709
  • I like bugs.
Re: How to config? (and missing wincrt)
« Reply #25 on: October 16, 2016, 10:10:23 am »
Lazarus project provides single .deb packages for both FPC and Lazarus.
See the "Download Now" button in here:
 http://www.lazarus-ide.org/
Problems with Ubuntu repo packages has been reported also earlier.

I would recommend you switch to another Linux distro. Actually I wonder why so many people use Ubuntu while there are many choices available. Clever marketing from Canonical I guess.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

lainz

  • Hero Member
  • *****
  • Posts: 4742
  • Web, Desktop & Android developer
    • https://lainz.github.io/

 

TinyPortal © 2005-2018