Solved

what is bzr?

Posted on 2014-11-07
7
210 Views
Last Modified: 2014-11-13
After something like 20year using Linux, I am periodically surprised to find yet another archive/download  storage format and procedure. I am trying to install libmemcached on Slackware 14.1. I've downloaded libmemcached-1.0.18 from https://code.launchpad.net. The README.FIRST file says
To obtain code from http://bazaar.launchpad.net/libmemcached you will need to
issue the following command:

bzr branch lp:libmemcached

Once the tree is cloned you will need to build the "configure" script. You
can do this by running the script:

./bootstrap.sh autoreconf

It will set up all of the files you need to build libmemcached. At that
point it is just the typical "./configure; make; make test; make install"

Open in new window


My distro does not have bzr. I think I can download it from https://wiki.linuxfoundation.org/en/Bazaar, and will do so while awaiting replies, but what is this and why? In the shown command `bzr branch lp:libmemcached` is "branch" a litteral keyword or a placeholder for a branch/revision number?
0
Comment
Question by:jmarkfoley
7 Comments
 
LVL 90

Assisted Solution

by:John Hurst
John Hurst earned 200 total points
ID: 40429732
BZR does not come in my newest WinZip association list. The site below says it is a binary font file.

http://www.file-extensions.org/bzr-file-extension

Does that help?
0
 
LVL 6

Assisted Solution

by:Wylie Bayes
Wylie Bayes earned 250 total points
ID: 40429743
I think this wiki might better explain a little more clearly what Bazaar is... http://en.wikipedia.org/wiki/GNU_Bazaar  

It's not really an archive format but more of a revision control tool for developers working on a single, or multiple branches of the same code.
0
 
LVL 1

Accepted Solution

by:
jmarkfoley earned 0 total points
ID: 40429851
Yes, it is a revision control tool, and an irritating one. I suppose it is useful for global cooperative program development, but as a simple end-user, all I really want is a tarfile with which I can do a simple `./configure; make; make install`.

So, I'll tell the story of my quest, briefly I hope, which appears to end badly, but has a happy ending.

I did find bzr at https://launchpad.net/bzr/+download, downloaded and built it (`python setup.py install`).  Then, per the instructions in the libmemcached-1.0.18/README.FIRST file, I tried `bzr branch lp:libmemcached`, but got the message, "You have not informed bzr of your Launchpad ID ..." After a lot of googling I found out how to create a Launchpad ID (I'll spare you the details unless someone wants to know). I registered with an email address and password, and created and uploaded a ssl public key. I then tried it again, but same message. I tried the recommended `bzr Launchpad-login myId`, where "myid' was the email address I used to register at https://login.launchpad.net, but that didn't work. I tried "root", that didn't work. What ID does it want? I was about to give up for the day when I noticed that the bzr command had gone ahead and downloaded the package/source (whatever it is) anyway. Hurray!

Not so fast. I next had to run bootstrap.sh autoreconf. This script is set to check for certain Linux vendors and distros, and Slackware is not one of them. Trying to fake-out the script as "debian" or 'Redhat" didn't work because expected directories weren't there. Sad ending?

After much more googling I found http://mirrors.kingrst.com/slackbuilds/14.0/libraries/libmemcached/libmemcached.SlackBuild, which is a script for Slackware that takes the same libmemcached tarfile I initially downloaded and, after tweeking the script for version number and creating a slack-desc file (from http://slackbuilds.org/slackbuilds/13.0/libraries/libmemcached/slack-desc), it built the libmemcached package! Yeah! No steeking bzr, or bootstrap.sh ...

So, "to the netherworld" with bzr!

I'm going to stop there for the day and try using this libmemcached whateveritis tomorrow. My slackbuild procedure ended with the message, "Slackware package /tmp/libmemcached-1.0.18-x86_64-1_SBo.tgz created." I've not done packages much, but does anyone know if "created" means "installed"? If not (for favoritism on point distribution) can you tell me how it install a created package? I think I'm not done yet. I;m sure I can google that, but if anyone knows off-hand it would save me a few minutes.

Thanks
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 61

Assisted Solution

by:gheist
gheist earned 50 total points
ID: 40430081
bzr is a version control like git or subversion.
Created package meand not installed.
0
 
LVL 6

Expert Comment

by:Wylie Bayes
ID: 40430184
Aw ok.    Try downloading from:

http://freecode.com/projects/libmemcached

1.0.18 as a tar.gz .  Can build how you normally would.
0
 
LVL 1

Assisted Solution

by:jmarkfoley
jmarkfoley earned 0 total points
ID: 40430884
Yeah, I figured it out: installpkg /tmp/libmemcached-1.0.18-x86_64-1_SBo.tgz

Wylie Bayes: No, that download is the exact same one I got mentioned in my initial post where it wants you to use bzr and all that mess. The SlackBuild script seemed to do the trick for me.
0
 
LVL 1

Author Closing Comment

by:jmarkfoley
ID: 40439496
I figured out how to resolve the issue
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now