Solved

what is bzr?

Posted on 2014-11-07
7
223 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 94

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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 62

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
capture pcap with filtered traffic 1 86
curl SSL certificate unable to get local issuer certificate 15 108
linux SFTP 8 63
Check for Linux process in script 7 49
The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

821 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