Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2013 16:31:54 +0300
From:      Achilleas Mantzios <achill@matrix.gatewaynet.com>
To:        freebsd-java@freebsd.org
Subject:   Re: FreeBSD java installation help!
Message-ID:  <51C455CA.8070308@matrix.gatewaynet.com>
In-Reply-To: <CAEhp90egRHJ=McCjnPF2yYnpHUkMLvQ5VPQ2608Ht6hCP9%2BYWg@mail.gmail.com>
References:  <CAEhp90dB%2BxM4%2B39Hz7Ed_m=BqixZzbgZkewv3vDqAVD-9eLoPg@mail.gmail.com> <F8A86A46-6B12-4B41-981C-3DB21787F72C@yahoo.de> <CAEhp90dFDaZ7q4dQFaMWQXNodbWn6ehwSpaXFTR65bp7PnYbxQ@mail.gmail.com> <op.wy0rane48527sy@ronaldradial.versatec.local> <CAEhp90egRHJ=McCjnPF2yYnpHUkMLvQ5VPQ2608Ht6hCP9%2BYWg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21/06/2013 16:17, Kavitha H Yogaraj wrote:
> Hey Ronald & Horst,
>
> Thank you very much for these two instructions,
> portsnap fetch
> portsnap extract
>
> I at least understood what people are talking online -about creating cd
> /usr/ports.... etc...
>
> Now, as Horst said, I'm first installing Xorg-libraries by this
> cd /usr/ports/x11/xorg-libraries
> make install
>

Since you insist on ignoring PKGNG (which if used properly would solve 
all your problems and many more in minutes), your next best bet is 
portmaster. It's not a silver bullet, most probably will give you its 
own share of port head aches (which of course are not portmaster's 
responsibility), but I hope that at least will get you past problems of 
the type "package-foo-bar-0.0.0.1 conflicts with 
package_foobar-0.0.0.0.9a". If even this is not an option, then

setenv FORCE_PKG_REGISTER
cd /usr/ports/x11/xorg-libraries
make deinstall
make reinstall

might get you one step further. You see i keep repeating the PKGNG stuff, because its prior absence has made a lot of folks jump out of the FreeBSD wagon.

> But, it looks like there is some package existing already, I get this error
> message...
>
> ===>  Installing for pkgconf-0.9.2_1
>
> ===>  pkgconf-0.9.2_1 conflicts with installed package(s):
>        pkg-config-0.25_1
>
>        They install files into the same place.
>        Please remove them first with pkg_delete(1).
> *** Error code 1
>
> Stop in /usr/ports/devel/pkgconf.
> *** Error code 1
>
> Stop in /usr/ports/x11/libdmx.
> *** Error code 1
>
> Stop in /usr/ports/x11/xorg-libraries.
>
>
> x11/xorg was not installed... If I go head and delete this existing package
> will it create dependencies of deletion? because  right now, I'm the only
> one doing this in my lab all others are on break. I don't want to mess up
> the running system.
>
>
>
> thanks
> kav
> On Fri, Jun 21, 2013 at 1:02 AM, Ronald Klop <ronald-freebsd8@klop.yi.org>wrote:
>
>> Try this.
>>
>> cd /usr/ports/java/openjdk7
>> make install
>> make clean
>>
>> If the directory /usr/ports does not exist you can create it with this.
>> portsnap fetch
>> portsnap extract
>>
>> To update the ports directory to the latest version:
>> portsnap fetch
>> portsnap update
>>
>> See the online handbook for more information about ports and FreeBSD.
>> http://www.freebsd.org/doc/en_**US.ISO8859-1/books/handbook/**
>> updating-upgrading-portsnap.**html<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-portsnap.html>;
>>
>> Regards,
>> Ronald.
>>
>>
>> On Thu, 20 Jun 2013 20:07:26 +0200, Kavitha H Yogaraj <ykavitha@uw.edu>
>> wrote:
>>
>>   Thanks for the reply,
>>> I'm following these steps from this site
>>> http://haulynjason.net/weblog/**2012/10/install-opnejdk7-on-**
>>> freebsd/#comment-6055<http://haulynjason.net/weblog/2012/10/install-opnejdk7-on-freebsd/#comment-6055>;
>>>
>>> I can’t see Edit folder in my openJdk7 folder when I unzip it from this
>>> URL.
>>>
>>> ftp://ftp.freebsd.org/pub/**FreeBSD/ports/amd64/packages-**
>>> 9.1-release//java/openjdk-7.9.**05_1.tbz<ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//java/openjdk-7.9.05_1.tbz>;
>>>
>>> Could you please help me where to find this make.conf file?
>>>
>>> When I use this command pkg_add -r openjdk7
>>> I get this error
>>> Error: Unable to get
>>> ftp://ftp.freebsd.org/pub/**FreeBSD/ports/amd64/packages-**
>>> 9.0-release/Latest/openjdk7.**tbz<ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/openjdk7.tbz>;
>>> :
>>> File unavailable (e.g., file not found, no access)
>>> pkg_add: unable to fetch '
>>> ftp://ftp.freebsd.org/pub/**FreeBSD/ports/amd64/packages-**
>>> 9.0-release/Latest/openjdk7.**tbz<ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/openjdk7.tbz>;
>>> '
>>> by URL
>>>
>>> And then, when I try to mention the site name
>>>
>>> PACKAGESITE=
>>> ftp://ftp.freebsd.org/pub/**FreeBSD/ports/i386/packages-9-**
>>> stable/ftp://ftp.freebsd.org/**pub/FreeBSD/ports/amd64/**
>>> packages-9.1-release//java/**openjdk-7.9.05_1.tbz<ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//java/openjdk-7.9.05_1.tbz>;
>>> I again get invalid command error.
>>>
>>> Could you please help me in installing java in FreeBSD?
>>>
>>> On Wed, Jun 19, 2013 at 2:02 PM, Heiner Strauß <heiner_ej@yahoo.de>
>>> wrote:
>>>
>>>
>>>> Am 19.06.2013 um 21:28 schrieb Kavitha H Yogaraj <ykavitha@uw.edu>:
>>>>
>>>>> Hi there,
>>>>>
>>>>> I'm a newbie to FreeBSD, have no idea how to install java in FreeBSD
>>>> OS.
>>>>> In the resources available online, its said that fresh ports need to be
>>>>> used, some other also say that it didn't worked.
>>>>>
>>>> Hi,
>>>> you only need to compile and install the right port. For JDK 6 it is
>>>> openjdk6, it will work. Please proceed as described in the handbook.
>>>> Don't
>>>> use parallel make jobs, it will fail with openjdk.
>>>>
>>>>> Could you please help me out in installing Java -headless (X11) in
>>>> FreeBsd?
>>>> Building headless is an art of its own, you have to ask the openjdk
>>>> people, it is not supported through the FreeBSD port system at the
>>>> moment,
>>>> at least not for JDK6. Maybe it is easier to build headless with JDK 7.
>>>> Please inform us if you find a solution for headless, I'm very
>>>> interested.
>>>> Greetings.
>>>>
>>>> --
>>>>
>>>> Heiner Strauß
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
> _______________________________________________
> 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




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