LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-21-2009, 05:45 AM   #1
konfigure
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2
Posts: 54

Rep: Reputation: 15
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?
 
Old 03-21-2009, 08:31 AM   #2
nerix
LQ Newbie
 
Registered: Mar 2009
Location: Girne, TRNC
Distribution: Slackware-current
Posts: 10

Rep: Reputation: 1
Have you tried to open "*.diff" file with a text editor and change version numbers in it?
 
Old 03-21-2009, 09:59 AM   #3
konfigure
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2
Posts: 54

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify slackbuild script version? bergman Slackware 3 02-23-2009 08:39 AM
Help writing a SlackBuild script empcrono Slackware 10 10-25-2008 11:19 AM
Swiftfox slackbuild script shadowsnipes Slackware 23 10-24-2008 10:52 PM
Generic Slackbuild script C-Sniper Slackware 4 06-16-2008 05:05 PM
Trouble with my first SlackBuild script Yalla-One Slackware 6 06-10-2006 02:03 PM


All times are GMT -5. The time now is 11:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration