Building narwahl-jsc fails

22 views
Skip to first unread message

Leif Singer

unread,
Nov 17, 2010, 2:24:01 PM11/17/10
to objec...@googlegroups.com
Hello!

Contrary to my previous reports, I'm still not able to build cappuccino.

bootstrap.sh asks me whether I want to install JSC and claims it's optional -- if I choose not to install it, building cappuccino fails, however (narwahl-jsc missing).

When I *do* choose to include JSC in bootstrap.sh, I get the following error:

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../src -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -arch ppc -c tc1.c
make[3]: *** No rule to make target `../src/libedit.la', needed by `tc1'. Stop.
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [deps/libedit-20100424-3.0/src/.libs/libedit.dylib] Error 2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: building narwhal-jsc failed. Hit enter to continue.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Before building Cappuccino we recommend you set the $CAPP_BUILD environment variable to a path where you wish to build Cappuccino.
NOTE: If you have previously set $CAPP_BUILD and built Cappuccino you may want to delete the directory before rebuilding.
================================================================================
Bootstrapping of Narwhal and other required tools is complete.
NOTE: any changes made to the shell configuration files won't take place until you restart the shell.

Any pointers as to what I could try now?

Thanks in advance
Leif


Nicolas Clavier

unread,
Nov 17, 2010, 2:41:10 PM11/17/10
to objec...@googlegroups.com
I had a libtool version error discussed here : http://groups.google.com/group/objectivej/browse_thread/thread/f735f7e00291a7c/127c696e50f81f98?lnk=gst&q=Libtool&pli=1

Similarly I could never get bootstrap.sh to install jsc. Therefore I just defined rhino as the narwhal engine in my ~/.bash_profile
I am still waiting for a fix to come up for that issue btw, as rhino is quite slow.

Nicolas
Sent from my iPhone

> --
> You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J" group.
> To post to this group, send email to objec...@googlegroups.com.
> To unsubscribe from this group, send email to objectivej+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/objectivej?hl=en.
>

Leif Singer

unread,
Nov 17, 2010, 5:16:42 PM11/17/10
to objec...@googlegroups.com
I have now completely removed MacPorts. JSC builds fine now, no problems here.

Thanks!
Leif

Tom Robinson

unread,
Nov 17, 2010, 5:47:58 PM11/17/10
to objec...@googlegroups.com
Yeah, MacPorts installations usually seem to be the culprit.

In the future perhaps try just removing the MacPorts bin directory (/opt/local/bin?) from your PATH environment variable. I'd be interested to know if that works.

Francisco Tolmasky

unread,
Nov 17, 2010, 6:15:10 PM11/17/10
to Cappuccino & Objective-J
We have confirmed that removing MacPorts from ones path seems to
resolve this issue. We are working on a way of handling this in
narwhal-jsc itself, but until then, doing this should fix it.

On Nov 17, 2:47 pm, Tom Robinson <tlrobin...@gmail.com> wrote:
> Yeah, MacPorts installations usually seem to be the culprit.
>
> In the future perhaps try just removing the MacPorts bin directory (/opt/local/bin?) from your PATH environment variable. I'd be interested to know if that works.
>
> On Nov 17, 2010, at 2:16 PM, Leif Singer wrote:
>
>
>
> > I have now completely removed MacPorts. JSC builds fine now, no problems here.
>
> > Thanks!
> >  Leif
>
> >> I had a libtool version error discussed here :http://groups.google.com/group/objectivej/browse_thread/thread/f735f7...
>
> >> Similarly I could never get bootstrap.sh to install jsc. Therefore I just defined rhino as the narwhal engine in my ~/.bash_profile
> >> I am still waiting for a fix to come up for that issue btw, as rhino is quite slow.
>
> >> Nicolas
> >> Sent from my iPhone
>
> >>> For more options, visit this group athttp://groups.google.com/group/objectivej?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J" group.
> >> To post to this group, send email to objec...@googlegroups.com.
> >> To unsubscribe from this group, send email to objectivej+...@googlegroups.com.
> >> For more options, visit this group athttp://groups.google.com/group/objectivej?hl=en.

Martin Galpin

unread,
Jan 12, 2011, 5:04:11 PM1/12/11
to Cappuccino & Objective-J
Just for the record - the same problem also exists with Fink - but the
solution works too (removing /sw/bin).

Best wishes

Martin

On Nov 17 2010, 11:15 pm, Francisco Tolmasky <franci...@280north.com>
wrote:
Reply all
Reply to author
Forward
0 new messages