Can't compile - file is symlink
lazarus / 33-macOS - Mac OS X
----------------------------------------------------------------------
wizbowes · 2013-12-31 12:27
Not very good with Macs. I've just installed Lazarus from the 3 dmg
images onto my mac. When I try to compile a blank form I get the
message
'The file "/tmp" is a symlink
Open "/private/tmp" instead'
with three options - open Target, Open symlink, Abort.
Abort obviuosly aborts.
Open Target does nothing (or reopens the same mesaage - it's hard to
tell)
Open symlink just closes the window but nothing compiles.
Running Mavericks with Laz version 1.0.14, and XCode 5.0.2.
Note: Although I had insatlled xcode prior to installing Lazaurs I
hadn't opened it. When I opened it first time it continued with teh
xcode install. Not sure if this has any impact on the issue
----------------------------------------------------------------------
jwdietrich · 2013-12-31 12:42
Did you perform the post-installation steps as described in the wiki?.
Please note especially the instructions how to install the command
line tools.
----------------------------------------------------------------------
wizbowes · 2013-12-31 15:28
Many thanks and sorry. RTFM. That's now working - however I now
can't get gdb installed.
Following the instructions
http://wiki.lazarus.freepascal.org/GDB_on_OS_X_Mavericks and entering
the first line into terminal to download homebrew:
Code: [Select]ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
I get the following error:
Code: [Select]ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
/dev/fd/63:4: syntax error, unexpected '<'
^
/dev/fd/63:5: syntax error, unexpected '<'
^
/dev/fd/63:7: syntax error, unexpected '<'
^
/dev/fd/63:8: syntax error, unexpected '<'
^
/dev/fd/63:8: syntax error, unexpected tIDENTIFIER, expecting end-of-
input
Any ideas on how to resolve this?
----------------------------------------------------------------------
BigChimp · 2014-01-01 10:26
Seems you're asking ruby to interpret an html page instead of a
script.
Are you sure you've used the right kind of braces etc?
Otherwise perhaps you can manually execute the curl part to get the
code and see what happens.
----------------------------------------------------------------------
wizbowes · 2014-01-01 13:33
Right - so the command line in the wiki is wrong and is missing the
end of the path - it should be:
Code: [Select]ruby <(curl -fsSkL
raw.github.com/mxcl/homebrew/go/install)
So that's now worked. However gdb is installed to /usr/local/bin/gdb
whereas the path in lazarus is /usr/bin/gdb. And now when I try to
change it I'm told that gdb is not an executable.
Now - I can run it from terminal. I've checked that it is signed, and
I've checked that the keychain certificate is set to Always Trust for
code signing. Am I missing anything else?
I'll keep on trying but an ideas welcome (like I say I'm used to
windows not a Mac)