LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing Lazarus (https://www.linuxquestions.org/questions/linux-newbie-8/installing-lazarus-565588/)

Instantly 06-30-2007 07:01 AM

Installing Lazarus
 
Im following these instructions to install Lazarus
http://www.howtoforge.com/lazarus_ubuntu

2 things are not working:
1) this didnt work, so I skipped this part
Code:

if all ok then you can get compiler version this way

/opt/fpc/bin/fpc -i

Free Pascal Compiler version 2.0.0

Compiler Date : 2005/05/15
Compiler CPU Target: x86_64

Supported targets:
 Linux for x86-64
 FreeBSD for x86-64

Supported CPU instruction sets:
 ATHLON64

Supported FPU instruction sets:
 SSE64

add /opt/fpt/bin in $PATH

vi ~/.bash_profile

#FPC PATH

if [ -d /opt/fpc/bin ] ; then
 PATH=/opt/fpc/bin:"${PATH}"
fi

2)I installed the development packages and downloaded lazarus package but when I command
Code:

make
i get
Code:

user@adminPC:~/lazarus$ make
make: -iVSPTPSOTO: Command not found
make: -iSP: Command not found
make: -iTP: Command not found
make: -iSO: Command not found
make: -iTO: Command not found
make -C ide ide
make[1]: -iSP: Command not found
make[1]: Entering directory `/home/user/lazarus/ide'
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make --assume-new=../lazarus.exe lazarus.exe
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: Entering directory `/home/user/lazarus/ide'
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
FE. -FUunits/-  lazarus.pp
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: FE.: Command not found
make[2]: [lazarus.exe] Error 127 (ignored)
make[2]: Leaving directory `/home/user/lazarus/ide'
make[1]: Leaving directory `/home/user/lazarus/ide'
make -C ide starter
make[1]: -iSP: Command not found
make[1]: Entering directory `/home/user/lazarus/ide'
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make --assume-new=../startlazarus.exe startlazarus.exe
make[1]: -iSP: Command not found
make[1]: -iTP: Command not found
make[1]: -iSO: Command not found
make[1]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: Entering directory `/home/user/lazarus/ide'
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
FE. -FUunits/-  startlazarus.lpr
make[2]: -iSP: Command not found
make[2]: -iTP: Command not found
make[2]: -iSO: Command not found
make[2]: -iTO: Command not found
make[2]: FE.: Command not found
make[2]: [startlazarus.exe] Error 127 (ignored)
make[2]: Leaving directory `/home/user/lazarus/ide'
make[1]: Leaving directory `/home/user/lazarus/ide'

I couldnt continue
please help...
what should I do?

Instantly 06-30-2007 07:03 AM

I am using Kubuntu 7

Instantly 06-30-2007 10:34 AM

I Downloaded Lazarus at the bottom of the list
http://sourceforge.net/project/showf...ease_id=496866

then did
sudo dpkg -i lazarus_0.9.22-1_i386.deb

I got this... whats wrong?

Code:

user@adminPC:~$ sudo dpkg -i /home/user/Downloads/lazarus_0.9.22-1_i386.deb
Selecting previously deselected package lazarus.
(Reading database ... 82383 files and directories currently installed.)
Unpacking lazarus (from .../lazarus_0.9.22-1_i386.deb) ...
dpkg: dependency problems prevent configuration of lazarus:
 lazarus depends on fp-compiler (>= 2.0.4); however:
  Package fp-compiler is not installed.
 lazarus depends on fpc-src (>= 2.0.4); however:
  Package fpc-src is not installed.
 lazarus depends on fp-ide (>= 2.0.4); however:
  Package fp-ide is not installed.
 lazarus depends on fp-units-base (>= 2.0.4); however:
  Package fp-units-base is not installed.
 lazarus depends on fp-units-db (>= 2.0.4); however:
  Package fp-units-db is not installed.
 lazarus depends on fp-units-fcl (>= 2.0.4); however:
  Package fp-units-fcl is not installed.
 lazarus depends on fp-units-fv (>= 2.0.4); however:
  Package fp-units-fv is not installed.
 lazarus depends on fp-units-gfx (>= 2.0.4); however:
  Package fp-units-gfx is not installed.
 lazarus depends on fp-units-gnome1 (>= 2.0.4); however:
  Package fp-units-gnome1 is not installed.
 lazarus depends on fp-units-gtk (>= 2.0.4); however:
  Package fp-units-gtk is not installed.
 lazarus depends on fp-units-gtk2 (>= 2.0.4); however:
  Package fp-units-gtk2 is not installed.
 lazarus depends on fp-units-misc (>= 2.0.4); however:
  Package fp-units-misc is not installed.
 lazarus depends on fp-units-net (>= 2.0.4); however:
  Package fp-units-net is not installed.
 lazarus depends on fp-units-rtl (>= 2.0.4); however:
  Package fp-units-rtl is not installed.
 lazarus depends on fp-utils (>= 2.0.4); however:
  Package fp-utils is not installed.
dpkg: error processing lazarus (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 lazarus
user@adminPC:~$


paulsm4 06-30-2007 11:41 PM

"Lazarus" is a graphical IDE for developing programs in Free Pascal.

To use Lazarus, you need the FP compiler. Your error messages indicate that you don't have it (or at least, that Lazarus can't find it).

You also need to install the GTK/GDK graphics libraries.

All of these requirements are cited in the link you quoted. Try re-installing, one step at a time:

a) Install Free Pascal (and make sure you can use it from the command line)
b) Install GTK/GDK and verify they're OK
c) Finally, try installing Lazarus again

'Hope that helps .. PSM

Instantly 07-01-2007 05:47 AM

Quote:

Originally Posted by paulsm4
"Lazarus" is a graphical IDE for developing programs in Free Pascal.

To use Lazarus, you need the FP compiler. Your error messages indicate that you don't have it (or at least, that Lazarus can't find it).

You also need to install the GTK/GDK graphics libraries.

All of these requirements are cited in the link you quoted. Try re-installing, one step at a time:

a) Install Free Pascal (and make sure you can use it from the command line)
b) Install GTK/GDK and verify they're OK
c) Finally, try installing Lazarus again

'Hope that helps .. PSM

but the problem is I did install Free Pascal Library... or at least I extracted it and did sudo sh install.sh
how can I make Lazarus Find it...........

Instantly 07-01-2007 05:52 AM

Im following the instructions of the following link
http://www.howtoforge.com/lazarus_ubuntu

so I downloaded the library and installed it

n the above tut
he says, f all ok then you can get compiler version this way

/opt/fpc/bin/fpc -i

if I do that in a terminal I get:
Code:

user@adminPC:~$ /opt/fpc/bin/fpc -i
bash: /opt/fpc/bin/fpc: cannot execute binary file
user@adminPC:~$

why?

Instantly 07-05-2007 12:49 PM

that didnt do anything I guess
Code:

user@adminPC:~$ sudo chmod a+x /opt/fpc/bin/fpc
user@adminPC:~$ sudo /opt/fpc/bin/fpc -i
/opt/fpc/bin/fpc: 1: Syntax error: Unterminated quoted string
user@adminPC:~$

what should I do?
thank you

stealth_banana 07-05-2007 03:02 PM

Open synaptic or adept, search for free pascal, select the fp files you need, install them.

then install lazarus.


All times are GMT -5. The time now is 05:12 AM.