wkhtmltopdf / packaging

Packaging of wkhtmltopdf releases
https://wkhtmltopdf.org/downloads.html#stable
311 stars 142 forks source link

[HELP] Build for centos7: cannot proceed #100

Closed langsz closed 2 years ago

langsz commented 3 years ago

I want to build the wkhtmltopdf which the QT needs some changes in the code to fix the issue. But it connot proceed.

error log:

Successfully built 9b729d39517d
Successfully tagged wkhtmltopdf/0.12:centos7-x86_64
Preparing build tree...
You don't seem to have 'make' or 'gmake' in your PATH.
Cannot proceed.
docker run --rm -v/home/wkhtmltopdfsrc/wkhtmltopdf:/src -v/home/wkhtmltopdfsrc/packaging-master/targets/centos7-x86_64:/tgt -v/home/wkhtmltopdfsrc/packaging-master:/pkg -w/tgt/qt --user 0:0 wkhtmltopdf/0.12:centos7-x86_64 /src/qt/configure -opensource -confirm-license -fast -release -static -graphicssystem raster -webkit -exceptions -xmlpatterns -system-zlib -system-libpng -system-libjpeg -no-libmng -no-libtiff -no-accessibility -no-stl -no-qt3support -no-phonon -no-phonon-backend -no-opengl -no-declarative -no-script -no-scripttools -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -no-mmx -no-3dnow -no-sse -no-sse2 -no-multimedia -nomake demos -nomake docs -nomake examples -nomake tools -nomake tests -nomake translations -silent -xrender -largefile -iconv -openssl-linked -no-javascript-jit -no-rpath -no-dbus -no-nis -no-cups -no-pch -no-gtkstyle -no-nas-sound -no-sm -no-xshape -no-xinerama -no-xcursor -no-xfixes -no-xrandr -no-mitshm -no-xinput -no-xkb -no-glib -no-gstreamer -no-icu -no-openvg -no-xsync -no-audio-backend -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-neon  --prefix=/tgt/qt
command failed: exit code 1

Who know how to fix?

ashkulz commented 3 years ago

Can you post the exact command line you used and the versions of the repositories you have checked out (git rev-parse HEAD)?

langsz commented 3 years ago

Can you post the exact command line you used and the versions of the repositories you have checked out (git rev-parse HEAD)?

The wkhtmltopdf version is 0.12.6 and the packaging which I download from the source code. ./build --no-qemu package-docker centos7-x86_64 ../wkhtmltopdf/

ashkulz commented 3 years ago

I recently ran a build on Azure Pipelines and it was successful for CentOS 7, not sure I can help you there :man_shrugging:

ashkulz commented 2 years ago

Please reopen the issue if it still affects you with more details.