From owner-freebsd-eclipse@FreeBSD.ORG Sun Jul 25 12:59:32 2010 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 458861065675 for ; Sun, 25 Jul 2010 12:59:32 +0000 (UTC) (envelope-from temporal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1E1478FC22 for ; Sun, 25 Jul 2010 12:59:31 +0000 (UTC) Received: by iwn35 with SMTP id 35so2373622iwn.13 for ; Sun, 25 Jul 2010 05:59:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=rB50ZPqVGl1F/Idyvn5ZvJWDydviwgSBAIgNH6/RWOQ=; b=woAifpNdu1zgwemly2yABglxQDdv2Fs5+4HW+M9RPFyjFEI3/3OCnhsCcYtBvXo4l7 zH6sFKSvMF2KGTM2Nvg8FyZ6kMmJHDUTaPrPuSdpR3BS/mcEux14+Dnu5lkhF8Fmky2+ aMjS3mDAirZCijJdTlnJ7lBYmYz+V0lbZEk4Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jmPGRYFjis9NhT2WEupjnnJRmL+KBB+Qu2d43YCewf9/p/mM/BOPbbxQpF2L1IcSr/ 0oyEhlCdHDssBf70IBdvIeNSTGAODSfSANVT7AYQKOxdEPEuwxSDCx7WJD5m+5M+uauJ KbNza2icoYCveeDMX5rGHhLXunvpQDgmm6PQk= MIME-Version: 1.0 Received: by 10.231.35.10 with SMTP id n10mr6721236ibd.161.1280061077632; Sun, 25 Jul 2010 05:31:17 -0700 (PDT) Received: by 10.231.15.72 with HTTP; Sun, 25 Jul 2010 05:31:17 -0700 (PDT) Date: Sun, 25 Jul 2010 05:31:17 -0700 Message-ID: From: Kenton Varda To: freebsd-eclipse@freebsd.org X-Mailman-Approved-At: Sun, 25 Jul 2010 14:33:08 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: CDT + eclipse-devel X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2010 12:59:32 -0000 Hi, 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! -Kenton