Solved

what is bzr?

Posted on 2014-11-07
7
217 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 93

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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP Apache application gives "Forbidden" message 5 57
Xymon customize http timeout 2 86
nagios 4 php error after installation 6 93
installing docker on ubuntu 6 29
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

777 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