Building project fails

104 views
Skip to first unread message

Ahmed Abdeen Hamed

unread,
May 3, 2012, 10:34:57 AM5/3/12
to golan...@googlegroups.com
Hello,

Just downloaded the LiteIDE X Version X11 (1.71875) for Mac OS. The IDE was installed correctly, but any project I develop on it fails to build. Here is an error that I just received from having a Go Source File:

<action id="Build" workdir="/Users/ahamed/Projects" cmd="$(GOPROMAKE)" args="-gofiles $(EDITORNAME) -o $(TARGETNAME)">
> /Users/ahamed/Applications/LiteIDE.app/Contents/MacOS/gopromake -gofiles test-proj.go -o test-proj
Golang Project Build Tools.
Parser Files [test-proj.go]
build package main:
 [/Users/ahamed/go/bin/go tool 6g -o test-proj_go_.6 test-proj.go]
Error, exec: "/Users/ahamed/go/bin/go": stat /Users/ahamed/go/bin/go: no such file or directoryexec: "/Users/ahamed/go/bin/go": stat /Users/ahamed/go/bin/go: no such file or directory
> exit code 1, process exited normally.
</action>


Somewhere in my config files there is a wrong reference to the Go binaries as the following line indicates:

[directoryexec: "/Users/ahamed/go/bin/go": stat /Users/ahamed/go/bin/go:]

Any suggestion on how I can fix this error?

Thanks very much,

-Ahmed

Albert

unread,
May 6, 2012, 10:13:59 PM5/6/12
to golan...@googlegroups.com
Select Prefrences. Click LiteEvn. Double click Darwin64.env.
This should open a file. Replace that with this:

#drawin64 environment

GOROOT=/usr/local/go
#GOROOT=$HOME/go
GOARCH=amd64
GOOS=darwin

#PATH=$GOROOT/bin:$PATH
PATH=/usr/local/go/bin
LITEIDE_GDB=gdb
LITEIDE_MAKE=make
LITEIDE_TERM=/usr/bin/open
LITEIDE_TERMARGS=-a Terminal
LITEIDE_EXEC=/usr/X11R6/bin/xterm
LITEIDE_EXECOPT=-e

And then select darwin64 to be your environment from the drop
down menu (to the right of the folder with
Go on it and to the left of the blue gear).


Ahmed Abdeen Hamed

unread,
May 8, 2012, 11:02:23 PM5/8/12
to Albert, golan...@googlegroups.com
Hi Albert,

I tried that yes, but the file can not be saved. I tried the Command S, and File Save menu but it can't be saved for some reason.

Any idea?

Thanks,
-Ahmed
Reply all
Reply to author
Forward
0 new messages