How to build cups-bjnp-2.0.1
Hi. I tried to build cups-bjnp-2.0.1 via SBo, like this
Code:
cd /tmp Code:
bjnp-commands.c: In function «bjnp_set_command_header»: Code:
static void Thanks |
I tried this on my 14.2 system and I was able to compile it correctly.
Code:
wget https://slackbuilds.org/slackbuilds/14.2/system/cups-bjnp.tar.gz |
bassmadrigal, thanks for your answer.
Probably you are use ./ap/cups-2.1.4-x86_64-1.txz but I use ./ap/cups-2.2.11-x86_64-1.txz from Slackware64-current. Regards, Blaze |
You're correct, I did try it with the stock cups from 14.2. I then grabbed the source from -current for cups and upgraded my cups to that version (I don't have a printed hooked up, so I'm not worried about breakage, and if something unexpected does break, I can reinstall the stock package). I then rebuilt cups-bjnp v2.0.1 and it worked fine.
I'm not sure if you have a full -current install or have just upgraded occasional packages on 14.2 like me... Otherwise, you can likely bypass this warning-gone-error by adding -Wno-stringop-truncation to the CFLAGS variable in the SlackBuild. |
have used bjnp over the years without issue, without using slackbuilds, the following was done using -current all up to date
Code:
wget https://netix.dl.sourceforge.net/project/cups-bjnp/cups-bjnp/2.0.1/cups-bjnp-2.0.1.tar.gz Code:
tar xvf cups-bjnp-2.0.1.tar.gz Code:
cd cups-bjnp-2.0.1 Code:
nano bjnp-commands.c Code:
./configure --with-cupsbackenddir=/usr/lib64/cups/backend Code:
make then Code:
make install |
glorsplitz, I changed strncpy to memcpy and builded tgz package without any troubles.
Guys, thank you so much! Regards, Blaze |
All times are GMT -5. The time now is 10:40 AM. |