FreeBSD java installation help!

Kavitha H Yogaraj ykavitha at uw.edu
Thu Jun 20 18:28:44 UTC 2013


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.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: pkg_add of dependency 'xproto-7.0.22' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/libXau-1.0.6.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: could not find package xproto-7.0.22 !
pkg_add: pkg_add of dependency 'libXau-1.0.6' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/libXdmcp-1.1.0.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: could not find package xproto-7.0.22 !
pkg_add: pkg_add of dependency 'libXdmcp-1.1.0' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/libICE-1.0.7,1.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: could not find package xproto-7.0.22 !
pkg_add: pkg_add of dependency 'libICE-1.0.7,1' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/libSM-1.2.0,1.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: could not find package xproto-7.0.22 !
pkg_add: could not find package libICE-1.0.7,1 !
pkg_add: pkg_add of dependency 'libSM-1.2.0,1' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/freetype2-2.4.9_1.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: pkg_add of dependency 'freetype2-2.4.9_1' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/libpthread-stubs-0.3_3.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: pkg_add of dependency 'libpthread-stubs-0.3_3' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/libxcb-1.7.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: could not find package xproto-7.0.22 !
pkg_add: could not find package libXdmcp-1.1.0 !
pkg_add: could not find package libXau-1.0.6 !
pkg_add: could not find package libpthread-stubs-0.3_3 !
pkg_add: pkg_add of dependency 'libxcb-1.7' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/libX11-1.4.4,1.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: could not find package xproto-7.0.22 !
pkg_add: could not find package libXdmcp-1.1.0 !
pkg_add: could not find package libXau-1.0.6 !
pkg_add: could not find package libpthread-stubs-0.3_3 !
pkg_add: could not find package libxcb-1.7 !
pkg_add: pkg_add of dependency 'libX11-1.4.4,1' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/libXt-1.1.1,1.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: could not find package xproto-7.0.22 !
pkg_add: could not find package libXau-1.0.6 !
pkg_add: could not find package libXdmcp-1.1.0 !
pkg_add: could not find package libICE-1.0.7,1 !
pkg_add: could not find package libSM-1.2.0,1 !
pkg_add: could not find package libpthread-stubs-0.3_3 !
pkg_add: could not find package libxcb-1.7 !
pkg_add: could not find package libX11-1.4.4,1 !
pkg_add: pkg_add of dependency 'libXt-1.1.1,1' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/libXrender-0.9.6.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: could not find package xproto-7.0.22 !
pkg_add: could not find package libXau-1.0.6 !
pkg_add: could not find package libXdmcp-1.1.0 !
pkg_add: could not find package libpthread-stubs-0.3_3 !
pkg_add: could not find package libxcb-1.7 !
pkg_add: could not find package libX11-1.4.4,1 !
pkg_add: pkg_add of dependency 'libXrender-0.9.6' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/libXext-1.3.0_1,1.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: could not find package xproto-7.0.22 !
pkg_add: could not find package libXau-1.0.6 !
pkg_add: could not find package libXdmcp-1.1.0 !
pkg_add: could not find package libpthread-stubs-0.3_3 !
pkg_add: could not find package libxcb-1.7 !
pkg_add: could not find package libX11-1.4.4,1 !
pkg_add: pkg_add of dependency 'libXext-1.3.0_1,1' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/libXi-1.4.5,1.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: could not find package xproto-7.0.22 !
pkg_add: could not find package libXau-1.0.6 !
pkg_add: could not find package libXdmcp-1.1.0 !
pkg_add: could not find package libpthread-stubs-0.3_3 !
pkg_add: could not find package libxcb-1.7 !
pkg_add: could not find package libX11-1.4.4,1 !
pkg_add: could not find package libXext-1.3.0_1,1 !
pkg_add: pkg_add of dependency 'libXi-1.4.5,1' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/libXtst-1.2.0.tbz...
Done.
pkg_add: could not find package pkgconf-0.8.9 !
pkg_add: could not find package xproto-7.0.22 !
pkg_add: could not find package libXau-1.0.6 !
pkg_add: could not find package libXdmcp-1.1.0 !
pkg_add: could not find package libpthread-stubs-0.3_3 !
pkg_add: could not find package libxcb-1.7 !
pkg_add: could not find package libX11-1.4.4,1 !
pkg_add: could not find package libXext-1.3.0_1,1 !
pkg_add: could not find package libXi-1.4.5,1 !
pkg_add: pkg_add of dependency 'libXtst-1.2.0' failed!
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/alsa-lib-1.0.26.tbz...
Done.


On Thu, Jun 20, 2013 at 11:24 AM, Kavitha H Yogaraj <ykavitha at uw.edu> wrote:

> 1. Yes, I have FreeBSD 9.0
>
> 2. pkg_add
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//java/openjdk-7.9.05_1.tbz
>  Resulted in some action but I had lot of messages saying package couldn't
> find so failed!
>
> 3. After second step, I tried to see whether Java is installed by using
> javac -version & javac.  This actually resulted in command not found,
> which in-turn means that java was not installed by second step.
>
> 4. When I type pkg_info, I get this below information, which basically
> shows upo what are the packages inside my FreeBSD/EC2
>
> $pkg_info
> alsa-lib-1.0.26     ALSA compatibility library
> ca_root_nss-3.13.5  The root certificate bundle from the Mozilla Project
> curl-7.24.0         Non-interactive tool to get files from FTP, GOPHER,
> HTTP(S)
> gettext-0.18.1.1    GNU gettext package
> inputproto-2.0.2    Input extension headers
> ispell-3.3.02_5     An interactive spelling checker for multiple languages
> java-zoneinfo-2012.h Updated Java timezone definitions
> javavmwrapper-2.4_2 Wrapper script for various Java Virtual Machines
> kbproto-1.0.5       KB extension headers
> libiconv-1.14       A character set conversion library
> libidn-1.22         Internationalized Domain Names command line tool
> liboauth-0.9.6_1    C library implementing the OAuth Core standard
> libslang2-2.2.4     Routines for rapid alpha-numeric terminal applications
> deve
> libxml2-2.7.8_3     XML parser library for GNOME
> mime-support-3.51.1 MIME Media Types list
> mutt-1.4.2.3_6      The Mongrel of Mail User Agents (part Elm, Pine, Mush,
> mh,
> openssl-1.0.0_7     SSL and crypto library
> p7zip-9.20.1        File archiver with high compression ratio
> pcre-8.30_2         Perl Compatible Regular Expressions library
> pecl-APC-3.1.10     Alternative PHP Cache
> pecl-oauth-1.2.2    A Php Interface to the OAuth Protocol
> php5-5.4.4          PHP Scripting Language
> php5-ctype-5.4.4    The ctype shared extension for php
> php5-curl-5.4.4     The curl shared extension for php
> php5-dom-5.4.4      The dom shared extension for php
> php5-filter-5.4.4   The filter shared extension for php
> php5-hash-5.4.4     The hash shared extension for php
> php5-iconv-5.4.4    The iconv shared extension for php
> php5-json-5.4.4     The json shared extension for php
> php5-pdo-5.4.4      The pdo shared extension for php
> php5-phar-5.4.4     The phar shared extension for php
> php5-posix-5.4.4    The posix shared extension for php
> php5-session-5.4.4  The session shared extension for php
> php5-simplexml-5.4.4 The simplexml shared extension for php
> php5-tokenizer-5.4.4 The tokenizer shared extension for php
> php5-xml-5.4.4      The xml shared extension for php
> php5-xmlreader-5.4.4 The xmlreader shared extension for php
> php5-xmlwriter-5.4.4 The xmlwriter shared extension for php
> pkg-config-0.25_1   A utility to retrieve information about installed
> libraries
> png-1.4.8           Library for manipulating PNG images
> recordproto-1.14.1  RECORD extension headers
> renderproto-0.11.1  RenderProto protocol headers
> urlview-0.9_7       URL extractor/launcher
> vim-7.3.121         Vi "workalike", with many additional features
> vim-lite-7.3.121    Vi "workalike", with many additional features (Lite
> package
> wget-1.13.4_1       Retrieve files from the Net via HTTP(S) and FTP
> xextproto-7.2.0     XExt extension headers
> zlib-1.2.6          A Massively Spiffy Yet Delicately Unobtrusive
> Compression L
>
>
> On Thu, Jun 20, 2013 at 11:11 AM, Rainer Duffner <rainer at ultra-secure.de>wrote:
>
>>
>> Am 20.06.2013 um 20:07 schrieb Kavitha H Yogaraj <ykavitha at uw.edu>:
>>
>> > Thanks for the reply,
>> >
>> > I'm following these steps from this site
>> >
>> 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
>> >
>>
>>
>> Just use
>> pkg_add
>> ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//java/openjdk-7.9.05_1.tbz
>>
>>
>> But you should install all packages from the same "URL".
>>
>>
>> I assume you have 9.0?
>>
>>
>> What does
>> pkg_info
>>
>> say?
>>
>>
>> I really, really hope the FreeBSD team can get a pkgng-repo up soon.
>>
>> I don't need it myself, I have my own repo - but helping people who have
>> no idea of how all this fits together is a bit of a nightmare…
>>
>>
>
>
> --
> Thanks,
> Kavitha Yogaraj
> Grad Student,
> University of Washington Tacoma,
>
>


-- 
Thanks,
Kavitha Yogaraj
Grad Student,
University of Washington Tacoma,


More information about the freebsd-java mailing list