trouble getting and installing FreeBSD-Java (2)

Steve Strassmann steve at strassmann.com
Mon Aug 13 09:01:08 PDT 2007


At 09:30 AM 8/13/2007, you wrote:
> > Since I am on a FreeBSD machine hosted (and managed) by pair.com, 
> I don't have
> > sudo, and I am not an expert on FreeBSD.
>
>have you got access to root at all? is this is a "virtual server" 
>you have with Pair, or a shared hosting account?

It is a 'virtual server', so it's not shared, but they still don't 
give me root or sudo privileges.
They maintain the core in heavily standardized way so there's no 
chance to upgrade
to a post-4.8 FreeBSD.

>You may be able to install software from ports as a user (eg, 
>non-root) by changing some critical environment settings, but I've 
>never done it... maybe someone else can say whether it is doable at 
>all or not ? ( someone could be Google too ;) )

It looks like I can almost add packages myself, but diablo-jdk 
depends on xorg-libraries, which I cannot locate.

   pair.com> pkg_add -nv diablo-jdk-freebsd5.i386.1.5.0.07.01.tbz
   Requested space: 218528784 bytes, free space: 4632469504 bytes in 
/var/tmp/instmp.63C9by
   Package 'diablo-jdk-1.5.0.07.01' depends on 'xorg-libraries-6.9.0' 
with 'x11/xorg-libraries' origin.
   and was not found.
   Package 'diablo-jdk-1.5.0.07.01' depends on 'javavmwrapper-2.0_6' 
with 'java/javavmwrapper' origin.
    - already installed.
   pkg_add: 1 package addition(s) failed

I located a 7.2_2 version of xorg-libraries using 
"http://www.freebsd.org/cgi/ports.cgi?query=^xorg-libraries":

   pair.com> pkg_add -r xorg-libraries-7.2_2
   Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/xorg-libraries-7.2_2.tgz: 
File unavailable (e.g., file not found, no access)
   pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/xorg-libraries-7.2_2.tgz' 
by URL

I checked the contents of the directory returned by
       "ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/"
but it contains no files matching "xorg", except for linux-xorg-libs. 
So I tried that in desperation, but
that doesn't work:

   pair.com> pkg_add -r linux-xorg-libs
   Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/linux-xorg-libs.tgz... 
Done.
   pkg_add: read_plist: bad command '@conflicts linux-XFree86-libs'

OK, so I downloaded from 
http://cvsweb.freebsd.org/ports/x11/xorg-libraries/xorg-libraries.tar.gz?tarball=1
and tried to make it myself:

   pair.com> cd xorg-libraries
   pair.com> make
   "/usr/share/mk/bsd.port.mk", line 6: Could not find 
/usr/ports/Mk/bsd.port.mk
   make: fatal errors encountered -- cannot continue
   pair.com> make install
   "/usr/share/mk/bsd.port.mk", line 6: Could not find 
/usr/ports/Mk/bsd.port.mk
   make: fatal errors encountered -- cannot continue
   pair.com> ls /usr/ports
   ls: ports: Permission denied
   pair.com> ls -l /usr | grep ports
   drwxr-x---   3 root    wheel      512 Jan  8  2004 ports/

And no, I have no sudo privileges so I can't read /usr/ports.

So I can't tell if pkg_add actually can install anything. It seems 
like all it needs is xorg-libraries
but as you can see pkg_add -r is unable to locate it. Can you provide 
me with a URL to
locate this?

thanks,
  Steve 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


More information about the freebsd-java mailing list