Wednesday, March 12, 2014

[Lubuntu]Workaround to compile BBCP in Lubuntu

BBCP is a useful program to speed things up when sending files between network machines. It can used multiple streams to make the magic happen. But recently, while trying to compile it (you can't find a prebuilt DEB) in Lubuntu, I faced with the error
*** No rule to make target `makeLinuxi686'.  Stop.
It meant there was to defined rule in the Makefile for my architecture (that I was using in Lubuntu). So, dirty the hands. Open the Makefile in a text editor and look for the line
Linux
Right after it you'll see a line similar to this.
makeLinuxx86_64:
        @make $(MKPARMS)  \
        CC=$(LNXCC) \
        BB=$(LNXcc) \
        CFLAGS="$(ENVCFLAGS) $(LNXOPT)" \
        BFLAGS="$(ENVCFLAGS) $(LNXOPT_B)" \
        INCLUDE="$(ENVINCLUDE)" \
        LIBS="$(LNXLIBS64)"
So, I just crossed my fingers (taking my chances) and cloned that part like this
makeLinuxi686:
        @make $(MKPARMS)  \
        CC=$(LNXCC) \
        BB=$(LNXcc) \
        CFLAGS="$(ENVCFLAGS) $(LNXOPT)" \
        BFLAGS="$(ENVCFLAGS) $(LNXOPT_B)" \
        INCLUDE="$(ENVINCLUDE)" \
        LIBS="$(LNXLIBS64)"
Saved the file
Then again followed the compilation instructions [like here] and VOILA!!! :D

No comments:

Post a Comment

Post your comment here. If you want to say something about programming problems, scripts, software etc, please try to be as descriptive as possible.

Connect Rapoo MT750S with Linux (Tested on Manjaro)

 I bought this obvious copy of MX Master 2S in hopes of having the device switching functionality along with a lightweight body because I ha...