LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   building from slackbuild script (http://www.linuxquestions.org/questions/slackware-14/building-from-slackbuild-script-713331/)

konfigure 03-21-2009 05:45 AM

building from slackbuild script
 
hello,
Im new in building from a script, usually I build in traditional way "./configure && make && make install".
And now I usually get from slackbuilds.org
Cos I want to upgrade my thunderbird, which I cant get with "slackpkg upgrade", and yes, I already "slackpkg update".
I go to slack's http://slackware.cs.utah.edu/pub/sla...a-thunderbird/ and download them all, exclude the thunderbird-2.0.0.18.tar.gz, which I want to upgrade to 2.0.0.21.
the I first edit the slackbuild and change the version, and then run the
./mozilla-thunderbird.SlackBuild

and this is what I got
Quote:

Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- ./thunderbird.orig 2005-10-25 21:59:02.000000000 -0500
|+++ ./thunderbird 2005-12-09 16:19:07.000000000 -0600
--------------------------
Patching file thunderbird using Plan A...
Hunk #1 FAILED at 92.
1 out of 1 hunk FAILED -- saving rejects to file thunderbird.rej
done
and referred from the output, I check the thunderbird.rej which is content like this

Quote:

***************
*** 92,99 ****
#uncomment for debugging
#set -x

- moz_libdir=/usr/local/lib/thunderbird-2.0.0.18
- MRE_HOME=/usr/local/lib/mre/mre-2.0.0.18

# Use run-mozilla.sh in the current dir if it exists
# If not, then start resolving symlinks until we find run-mozilla.sh
--- 92,99 ----
#uncomment for debugging
#set -x

+ moz_libdir=/usr/lib/thunderbird-2.0.0.18
+ MRE_HOME=/usr/lib/mre/mre-2.0.0.18

# Use run-mozilla.sh in the current dir if it exists
# If not, then start resolving symlinks until we find run-mozilla.sh
I dont know how to solve, so I just delete all the *.diff.gz in the directory, and run the slackbuild again, and It works. I created the package.
Is there any effects if I build it without the diff files?
I mean the negative effects, like from security, slack's system integration, or something?

nerix 03-21-2009 08:31 AM

Have you tried to open "*.diff" file with a text editor and change version numbers in it?

konfigure 03-21-2009 09:59 AM

I tought I already did that, but when I read ur reply, I try it again, by changing inside diff files.
And.. yes the build run succesfully
hehe..
thanks.


All times are GMT -5. The time now is 12:41 PM.