Solved

what is bzr?

Posted on 2014-11-07
7
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 95

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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

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
Linux FTP Error 5 57
RHEL 6.7 Gnome Desktop on VMware 6 VM 9 136
Logrotate Every Saturday 5 40
apache does not start on Kali linux 4 87
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 …
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

737 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