Forum > macOS / Mac OS X

Problem installing Lazarus...

<< < (2/3) > >>

Anonymous:

--- Quote from: "Anonymous" ---ok i found the solution :)

the PATH was not set :
PATH=$PATH:/usr/local/bin
in the terminal an 'make' runs :)
--- End quote ---


Indeed. The makefiles use the fpc utility to figure out the platform they are running on. If the fpc utility cannot be found, the makefiles assume an i386 platform.

mischi:
When I encountered the problem, I simply symlinked ppcppc and named the link ppc386 with:
cd /pp/bin        -- adjust this to the directory, where your programs live, such as /usr/bin or /usr/local/bin
ln -s ../lib/fpc/1.9.5/ppcppc ppc386  -- again, you have to adjust it to where your ppcppc lives.

Anonymous:

--- Quote from: "Anonymous" ---ok i found the solution :)
the PATH was not set :
PATH=$PATH:/usr/local/bin
in the terminal an 'make' runs :)
--- End quote ---

When I try this, I get an error message:
tcsh: Bad : modifier in $ (/).

What do I need to do to fix this?  TIA.

(I am mostly ignorant of these types of things; maybe others
are too.  Wouldn't it be good if someone updated the makefile
to corect this issue?)

Anonymous:

--- Quote from: "Anonymous" ---When I try this, I get an error message:
tcsh: Bad : modifier in $ (/).

What do I need to do to fix this?  TIA.

(I am mostly ignorant of these types of things; maybe others
are too.  Wouldn't it be good if someone updated the makefile
to corect this issue?)
--- End quote ---

OK.  I finally figured out I needed  to use the 'sh' shell.
So (for anyone else as ignorant of these things as me), type:
$ sh
$ PATH=$PATH:/usr/local/bin
$ make clean all
But after compiling, I get an error linking...
> Linking ./lazarus
> /usr/bin/ld: can't locate file for: -lglib-1.2.0
> lazarus.pp(98,1) Error: Error while linking
> make[1]: *** [lazarus] Error 1
> make: *** [ide] Error 2

What gives?  What do I fix now?  TIA

Vincent Snijders:
Did you install the gtk developement libraries? They make (on linux) the necessary symlinks.

If you already have glib-1.2.0.so installed, try:
make all OPT="-Fl/path/to/glib-1.2.0.so"

Please report the path you used, if successful. Maybe it can be added to the make file.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version