From owner-freebsd-java@FreeBSD.ORG Fri Jun 21 07:18:55 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D37617EA for ; Fri, 21 Jun 2013 07:18:55 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (adsltrust.ath.forthnet.gr [194.219.204.174]) by mx1.freebsd.org (Postfix) with ESMTP id 369921E0C for ; Fri, 21 Jun 2013 07:18:54 +0000 (UTC) Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.14.5/8.14.5) with ESMTP id r5L7IqpV030024 for ; Fri, 21 Jun 2013 10:18:52 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Message-ID: <51C3FE5C.50600@matrix.gatewaynet.com> Date: Fri, 21 Jun 2013 10:18:52 +0300 From: Achilleas Mantzios User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130601 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Re: FreeBSD java installation help! References: <8F694237-917D-4E7F-9502-CBD676242E3C@ultra-secure.de> <82B55BD8-245C-4003-A274-E7A04EF49C96@ultra-secure.de> In-Reply-To: <82B55BD8-245C-4003-A274-E7A04EF49C96@ultra-secure.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jun 2013 07:18:55 -0000 By all means what Rainer Duffner said. It is exactly for newbies like Kavitha H Yogaraj that the PKGNG system was brought in to life, + it has an excellent SQL interface which i personally love. On 20/06/2013 21:54, Rainer Duffner wrote: > Am 20.06.2013 um 20:28 schrieb Kavitha H Yogaraj : > >> In my second step, when I run, I get couldn't find package, How to install all these packages individually ? is there a way to install all of them manually? >> >> >> # pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//java/openjdk-7.9.05_1.tbz >> >> I get ---- >> >> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//java/openjdk-7.9.05_1.tbz... Done. >> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/xextproto-7.2.0.tbz... Done. >> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/renderproto-0.11.1.tbz... Done. >> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/recordproto-1.14.1.tbz... Done. >> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/kbproto-1.0.5.tbz... Done. >> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/inputproto-2.0.2.tbz... Done. >> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/javavmwrapper-2.4_2.tbz... Done. >> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/java-zoneinfo-2012.h.tbz... Done. >> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/pkgconf-0.8.9.tbz... Done. >> pkg_add: package 'pkgconf-0.8.9' conflicts with pkg-config-0.25_1 >> pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation >> pkg_add: pkg_add of dependency 'pkgconf-0.8.9' failed! >> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/xproto-7.0.22.tbz... Done. > > > > That's a problem. > You already have some packages installed, but the latest openjdk7 package (which was compiled for a newer version but should in theory run on 9.0) requires newer versions of some of the packages you have installed. > > > My suggestion would be to remove all packages, update to 9.1 and use pkgng. > > > Make a list of the packages that you actually want to have installed. > Then: > > pkg_delete -fa > freebsd-update -r 9.1-RELEASE upgrade > > (it will then most likely try to merge some configuration-files - it's usually best to just go with the suggestions) > > then > freebsd-update install > reboot > freebsd-update install > reboot > pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//ports-mgmt/pkg-1.0.2.tbz > > run > pkg2ng > echo "WITH_PKGNG=yes" >> /etc/make.conf > > and then follow the instructions here: > http://wiki.pcbsd.org/index.php/Convert_a_FreeBSD_System_to_PC-BSD®#Switching_to_the_PC-BSD.C2.AE_pkgng_Repository > > (you don't need to run pkg upgrade -fa, when you don't have any packages installed) > > > Then, after you have configured the PCBSD pkgng-repository you can install stuff by > > > pkg search "your stuff" > > pkg install "exact name as returned by search" > > > > see here: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html > > For further instructions. > > It works close enough to apt-get that most people should be able to use it... > > > I admit I've never used the PCBSD repository. But as it has been suggested previously, I assume it's sufficiently useful. > I looked and they seem to have an OpenJDK7 package…. > > > > > Regards, > Rainer > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" -- Achilleas Mantzios