Noob building a package

Problems with packages? Post here, using [tags] of the package name.

Noob building a package

Postby ant129 » Sun Jun 19, 2011 3:40 am

Hi everyone. Total noob alert. I got samba working now for my ultimate goal, I am trying to install subsonic. I have been following this thread: viewtopic.php?f=5&t=185

I am trying to install Oracles SE Java for ARMv5 as suggested but I don't know how.

First I installed yaourt and then I tried different commands with yaourt but nothing seemed to work. Keep getting these messages:
"error: missing package metadata in /share/temp/ejre.tar.gz"

I can't seem to find a noob's guide for this. I know this is trivial for you guys but I can't find the answer.
Noob alert!
Pogoplug v2 (not pink but grey)
Subsonic
ant129
 
Posts: 21
Joined: Sat Jun 11, 2011 5:00 am

Re: Noob building a package

Postby pepedog » Sun Jun 19, 2011 6:45 am

I would guess that you are supposed Uncompressed the tar.gz file, and then either move the tree of files somewhere or run an install script that was within the tar
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Noob building a package

Postby ant129 » Sun Jun 19, 2011 9:23 pm

Thanks for the reply, you helped me to further my search. I was under the assumption that all applications had to be installed using pacman or something similar. The directions here seemed to do the trick:
http://www.oracle.com/technetwork/java/ ... l#contents
Noob alert!
Pogoplug v2 (not pink but grey)
Subsonic
ant129
 
Posts: 21
Joined: Sat Jun 11, 2011 5:00 am

Re: Noob building a package

Postby ant129 » Mon Jun 20, 2011 1:23 am

And I am stuck again been going at this for hours now. I can't seem to figure out how to do this step:

"Add <JAVA_HOME>/bin to your PATH environment variable setting in order to run the Java binaries."

I thought I had to edit the etc/profile file, I edited the following

# Set our default path
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/bin/ejer1.6.0_25/bin"
export PATH

That didn't seem to do anything. I am suppose to be able to type in java -version and it will print the version of java tool.

Do I need to add a new path with the java location? I tried editing bash.bashrc and that didn't go over well either luckily I was able to undo the damage I did.
Noob alert!
Pogoplug v2 (not pink but grey)
Subsonic
ant129
 
Posts: 21
Joined: Sat Jun 11, 2011 5:00 am

Re: Noob building a package

Postby pepedog » Mon Jun 20, 2011 8:13 am

Did you logout or reboot after changing path, or they could actually be typed in on the terminal.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Noob building a package

Postby ant129 » Mon Jun 20, 2011 12:50 pm

Yeah I rebooted. Did that seem right?
Noob alert!
Pogoplug v2 (not pink but grey)
Subsonic
ant129
 
Posts: 21
Joined: Sat Jun 11, 2011 5:00 am

Re: Noob building a package

Postby ant129 » Tue Jun 21, 2011 1:10 am

Update: ID 10 T error.

I misspelled "ejre" Everything is working now thanks.
Noob alert!
Pogoplug v2 (not pink but grey)
Subsonic
ant129
 
Posts: 21
Joined: Sat Jun 11, 2011 5:00 am

Re: Noob building a package

Postby ant129 » Tue Jun 21, 2011 2:32 am

And subsonic is up and running no issues. Mission accomplished :geek:
Noob alert!
Pogoplug v2 (not pink but grey)
Subsonic
ant129
 
Posts: 21
Joined: Sat Jun 11, 2011 5:00 am

Re: Noob building a package

Postby pepedog » Tue Jun 21, 2011 7:58 am

I actually looked at that line (you have it in bold) and puzzled knowing you had jre, assumed you changed directory name.
Back to building a package, in most cases not only does it package, but compile binaries, configure too.
Some possible reasons no one has packaged these pre-compiled binaries is there is either an agreement to say yes to before download, or a license thing, or no way to download automaticaly, or owners do not allow distribution by others.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Noob building a package

Postby ant129 » Wed Jun 22, 2011 2:14 am

So adding " subsonic " to the /etc/rc.conf Daemons section does not auto start the subsonic server after a reboot. Any other way to do this? The terminal command to start subsonic is " subsonic ". I double and tripled checked my spelling this time :D .
Noob alert!
Pogoplug v2 (not pink but grey)
Subsonic
ant129
 
Posts: 21
Joined: Sat Jun 11, 2011 5:00 am

Next

Return to Packages

Who is online

Users browsing this forum: No registered users and 27 guests