Package Details: sam2p 0.49.4-4

Git Clone URL: https://aur.archlinux.org/sam2p.git (read-only)
Package Base: sam2p
Description: A bitmap-to-eps-or-pdf-converter that produces very small files
Upstream URL: http://www.inf.bme.hu/~pts
Keywords: imake
Licenses: GPL2
Submitter: haawda
Maintainer: haawda
Last Packager: haawda
Votes: 22
Popularity: 0.000082
First Submitted: 2007-09-28 18:11
Last Updated: 2017-11-23 12:33

Dependencies (6)

Required by (1)

Sources (2)

Latest Comments

zoe commented on 2017-11-23 15:03

Thank you, haawda, now install is fine.
Yes, very strange that this binary has to be built in the package function

haawda commented on 2017-11-23 12:35

Strangely this binary has to be build in the package function.

zoe commented on 2017-11-22 12:34

A workaround is :
sudo chown [your_user]:[your_user] /usr/local/bin/
sudo chown [your_user]:[your_user] /usr/local/bin/sam2p

then install sam2p is fine

And do not forget to reverse permissions :
sudo chown root:root /usr/local/bin/
sudo chown root:root /usr/local/bin/sam2p

Not very clean, I did not find better thing…

eduardosm commented on 2017-11-22 10:30

It is still not working, I keep getting
cp: cannot create regular file '/usr/local/bin/sam2p': Permission denied

swiftgeek commented on 2017-11-21 16:28

Changed make DESTDIR=$pkgdir install
to make DESTDIR="$pkgdir" install
And it seems to work

swiftgeek commented on 2017-11-21 16:26

==> Starting package()...
g++ -s -O2 -DHAVE_CONFIG2_H -fsigned-char -fno-rtti -fno-exceptions -ansi -pedantic -Wall -W -Wextra -c pts_defl.c
g++ -s -Wl,-O1,--sort-common,--as-needed,-z,relro sam2p_main.o appliers.o crc32.o out_gif.o in_ps.o in_tga.o in_pnm.o in_bmp.o in_gif.o in_lbm.o in_xpm.o mapping.o in_pcx.o in_jai.o in_png.o in_jpeg.o in_tiff.o rule.o minips.o encoder.o pts_lzw.o pts_fax.o pts_defl.o error.o image.o gensio.o snprintf.o gensi.o -o sam2p
Created executable file: sam2p (size: 452568).
mkdir -p '/usr/local/bin'
cp sam2p '/usr/local/bin'
cp: cannot create regular file '/usr/local/bin/sam2p': Permission denied
make: *** [Makefile:222: install] Error 1

haawda commented on 2017-10-08 20:59

strange, does it work now?

eduardosm commented on 2017-10-08 12:24

This version's configure script seems to be ignoring the --prefix flag.
Adding
sed -i "s,/usr/local,$pkgdir/usr,g" configure
before executing ./configure workarounds it as long as $pkgdir does not have any comma.

eduardosm commented on 2017-09-23 16:31

Please, add
export PERL5LIB=.
to PKGBUILD, otherwise build fails with:

perl -x hq.pl <bts2.ttt >bts2.tth
do "hq.pl" failed, '.' is no longer in @INC; did you mean do "./hq.pl"? at hq.pl line 2.
g++ --std=c++98 -s -O2 -DHAVE_CONFIG2_H -fsigned-char -fno-rtti -fno-exceptions -ansi -pedantic -Wall -W -Wextra -c sam2p_main.cpp
sam2p_main.cpp:152:1: error: expected primary-expression before ‘;’ token
;
^
make: *** [Makedep:130: sam2p_main.o] Error 1

haawda commented on 2016-10-12 12:28

Forgot to add: I will update asap.

All comments