shimmerproject/elementary-xfce

Makefile error: xargs: optipng: No such file or directory

sid-the-sloth opened this issue · 3 comments

Trying to build with local config:

./configure --prefix=$HOME/.local

Output from make:

mkdir -p build
mkdir -p build/elementary-xfce && cp -R elementary-xfce/. build/elementary-xfce
mkdir -p build/elementary-xfce-dark && cp -R elementary-xfce-dark/. build/elementary-xfce-dark
mkdir -p build/elementary-xfce-darker && cp -R elementary-xfce-darker/. build/elementary-xfce-darker
mkdir -p build/elementary-xfce-darkest && cp -R elementary-xfce-darkest/. build/elementary-xfce-darkest
rm build/elementary-xfce/AUTHORS && cp AUTHORS build/elementary-xfce
rm build/elementary-xfce/CONTRIBUTORS && cp CONTRIBUTORS build/elementary-xfce
rm build/elementary-xfce/LICENSE && cp LICENSE build/elementary-xfce
rm build/elementary-xfce/README.md && cp README.md build/elementary-xfce
make -C svgtopng
make[1]: Entering directory '/home/ds/Downloads/unpack/icons/elementary-xfce-0.17/svgtopng'
cc -Wall -Werror -O0 -pipe \
svgtopng.c -o svgtopng \
`pkg-config --libs --cflags gtk+-3.0` \
`pkg-config --libs --cflags gdk-pixbuf-2.0`
make[1]: Leaving directory '/home/ds/Downloads/unpack/icons/elementary-xfce-0.17/svgtopng'
chmod +x ./svgtopng/pngtheme.sh
== Processing build/elementary-xfce
 * Creating png icons from svg files and symlinks
 * Cleanup icon directory
 * Deleting svg files
 * Checking dangling symlinks
== Processing build/elementary-xfce-dark
 * Creating png icons from svg files and symlinks
 * Cleanup icon directory
 * Deleting svg files
 * Checking dangling symlinks
== Processing build/elementary-xfce-darker
 * Creating png icons from svg files and symlinks
 * Cleanup icon directory
 * Deleting svg files
 * Checking dangling symlinks
== Processing build/elementary-xfce-darkest
 * Creating png icons from svg files and symlinks
 * Cleanup icon directory
 * Deleting svg files
 * Checking dangling symlinks
== Optimizing all icon pngs
xargs: optipng: No such file or directory
make: *** [Makefile:42: build] Error 127

The lines responsible from makefile:

build: test
	@echo == Optimizing all icon pngs
	@find build -type f -iname '*.png' | xargs optipng -strip all -silent
newhoa commented

Thanks for the output. Do you happen to have the optipng package installed?

If so and it still gives errors, any info about your system setup (distro, etc) would be helpful.

Thanks!

My apologies, did not notice the dependency. Everything works fine.

newhoa commented

My apologies, did not notice the dependency. Everything works fine.

No problem, glad it's working!