Solved

what is bzr?

Posted on 2014-11-07
7
213 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 92

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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
docker invalid registry name 2 105
change time in cron 4 65
Debug VNC connection on CentOS7 server 22 64
CentOS/RHEL 7 Linux maillog worldwide readable 2 39
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

919 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

14 Experts available now in Live!

Get 1:1 Help Now