Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 2010 11:02:07 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Kenton Varda <temporal@gmail.com>
Cc:        freebsd-eclipse@FreeBSD.org
Subject:   Re: CDT + eclipse-devel
Message-ID:  <20100731180207.GA26693@misty.eyesbeyond.com>
In-Reply-To: <AANLkTikRrnOYvqLRpwGNbo3Q9vGFAX3cKaw5_RcosZww@mail.gmail.com>
References:  <AANLkTikRrnOYvqLRpwGNbo3Q9vGFAX3cKaw5_RcosZww@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 25, 2010 at 05:31:17AM -0700, Kenton Varda wrote:
> I'm sending this to the mailing list in the hopes that it will help the next
> poor guy that tries to do this.
> 
> I've installed eclipse-devel (Eclipse 3.5) on FreeBSD 8.1.  I wanted CDT,
> but unfortunately the eclipse-cdt port is for the non-devel eclipse package
> (Eclipse 3.4).  So, I installed CDT 6 through the plugin installer dialog.
>  No errors were reported, and Eclipse claimed that the CDT was installed,
> but none of the features of CDT seemed to actually load.  Try as I might, I
> could not find any information whatsoever as to why they failed.  There was
> nothing in the plugin error log, nothing in any of Eclipse's other logs,
> etc.  It simply ignored the plugin.
> 
> It appears that the problem is that there are a couple of things in CDT that
> are native code (not Java), so they need to be compiled specifically for
> FreeBSD.  If they are missing, CDT just doesn't load.  Luckily, it seems
> these things don't change much -- I was able to pull the binaries directly
> out of the freebsd eclipse-cdt package even though it is CDT 3.1.2.
>  Specifically:
> 
> mkdir temp
> cd temp
> fetch
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.1-release/Latest/eclipse-cdt.tbz
> tar xf eclipse-cdt.tbz
> cp -rv eclipse/plugins/*freebsd*
> ~/.eclipse/org.eclipse.platform_3.5.0_1216342082/plugins
> 
> Started up Eclipse again, and suddenly CDT is happy and working!  YES!
>  (Hopefully this isn't going to blow up in my face later...)
> 
> Thanks for the port!

CDT has some native parts as you mention.  The port clearly needs updating.
Thanks for reporting the problems!

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100731180207.GA26693>