|
NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD. |
|
Thread Tools | Display Modes |
|
|
|||
Maven/Lift on NetBSD sparc64
I'm trying to get maven on my sparc64 machine so I can install and use Lift. When I was on the maven package page I couldn't find a binary for my arch. ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/apache-maven/README.htm ... (I would have posted the url in the right format but I'm new and can't do so... sorry) so I guess I have to compile it from source? Now my question is what is the best way to get maven as it requires java vdk which is not a precompiled binary and a slew of other things in a whole web of prereqs that would not be fun to compile from source and pkg_add. Is there a place where I can find a giant tarball and just run a make or a ./configure or is the only way the hard way? I have looked through the pkgsrc guide but I couldn't find extensive detail on compiling for different archs. Maybe I missed something? On a side note... is there any way to save the PATH and the PKG_PATH vars and keep them exported so I don't need to retype them every time I want to pkg_add?
Any help is appreciated and thanks. |
|
|||
Hmmm thanks so far. I found the source for openjdk 6 and now I am having trouble making the file. What exactly do I need to build from source. I saw on pkgsrc that I needed to get the text.tgz and comp.tgz distribution sets which I installed on my system. What else do I need to get to make my system "make" ready? Do I still need a C compiler and other things too?
|
|
||||
All you have to do is to download pkgsrc archive, unpack in /usr then go to i.e.
Code:
cd /usr/pkgsrc/audio/**** Code:
make package clean Please read: HTML Code:
http://www.netbsd.org/docs/pkgsrc/ HTML Code:
ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2010Q2/pkgsrc.tar.gz If you install comp.tgz (from base system) you will have set of compilators (so C, C++ etc). When compiling program from pkgsrc you don't have to download any sources, creating Makefiles etc etc. Pkgsrc will download sources for you and the set of Makefiles, patches etc is already provided by pkgsrc. I hope that helps and clarifies. Piotr. |
|
|||
That kinda helps but with my system I didn't do a full checkout of pkgsrc and do not wish to. I just used pkg_add to get what I needed and I set my pkg_path to the all directory on the pkgsrc site for my arch. To clarify my question: I want to "make" the openjdk tar.gz I found here, download.java.net/openjdk/jdk6 . How exactly would I go about doing that and I guess just assume I have a fresh installation of NetBSD sans pkgs. Thanks for the help so far you've been greaaattt!!
|
|
|||
If you have looked at the dependency list found at the following:
ftp://ftp.netbsd.org/pub/pkgsrc/curr...k7/README.html Selectively installing only parts of the pkgsrc tree is fraught with all kinds of potential errors. If you go down this unrecommended path, you are likely to be starting over many times. If your concern is disk space, recognize that there are at least two options:
Quote:
http://netbsd.org/docs/software/packages.html |
|
|||
[QUOTE=ocicat;33031]
Familiarizing yourself with pkgsrc's documentation would be a good start: A little sassy but alright. I guess I'll do that. Some of those guides I saw on the site weren't very explicit for the new Unix user. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sparc64 duplicate to drives for booting | gpatrick | OpenBSD General | 8 | 12th January 2010 03:38 PM |
Beep or visual signal after booting OpenBSD/sparc64 | hansivers | OpenBSD General | 10 | 20th September 2009 04:08 PM |
sablevm on sparc64 | foxi | Programming | 0 | 15th June 2008 09:42 AM |
jdk for sparc64 | nippysaurus | FreeBSD Ports and Packages | 6 | 1st June 2008 04:32 PM |