You are not logged in.

#1 2015-09-14 19:55:24

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,928
Website

[Solved] Compiling tupi fails with missing quazip.h

I'm trying to transfer the tupi-git package to AUR4.
However ./configure fails with unsatisfied dependency quazip:

 > ./configure --prefix=/usr
 * Checking for Qt >= 5.2.0
 * Testing for qmake... (Found: 5.5.0) [ OK ]
 * Adding libav support: true
 * Checking for Qt Multimedia... 
 * Compiling test...
["rm -f main.o\n", "rm -f *~ core *.core\n"]["g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtMultimediaWidgets -isystem /usr/include/qt -isystem /usr/include/qt/QtMultimediaWidgets -isystem /usr/include/qt/QtMultimedia -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp\n", "g++ -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-rpath-link,/usr/lib -o multimedia main.o   -L/usr/lib64 -lQt5MultimediaWidgets -lQt5Multimedia -lQt5Widgets -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread \n"] * Result: [ OK ]
 * Priority: required
 * Checking for Theora... 
 * Compiling test...
["rm -f main.o\n", "rm -f *~ core *.core\n"]["g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp\n", "g++ -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro -o theora main.o   -ltheora -ltheoraenc -ltheoradec -logg -lQt5Gui -lQt5Core -lGL -lpthread \n"] * Result: [ OK ]
 * Priority: optional
 * Checking for Zlib... 
 * Compiling test...
["rm -f main.o\n", "rm -f *~ core *.core\n"]["g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp\n", "g++ -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro -o zlib main.o   -L/usr/lib64 -lz -lQt5Gui -lQt5Core -lGL -lpthread \n"] * Result: [ OK ]
 * Priority: required
 * Checking for Libav... 
 * Compiling test...
["rm -f main.o\n", "rm -f *~ core *.core\n"]["g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIC -D__STDC_CONSTANT_MACROS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp\n", "g++ -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro -o libav main.o   -lavformat -lavcodec -lavutil -lQt5Gui -lQt5Core -lGL -lpthread \n"] * Result: [ OK ]
 * Priority: optional
 * Checking for OpenGL... 
 * Compiling test...
["rm -f main.o\n", "rm -f *~ core *.core\n"]["g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtOpenGL -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp\n", "g++ -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro -o opengl main.o   -L/usr/lib64 -lQt5OpenGL -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread \n"] * Result: [ OK ]
 * Priority: optional
 * Checking for QuaZIP... 
 * Compiling test...
["rm -f main.o\n", "rm -f *~ core *.core\n"]main.cpp:36:20: fatal error: quazip.h: No such file or directory
compilation terminated.
make: *** [main.o] Error 1
["g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/quazip -isystem /usr/include/qt -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp\n", "Makefile:656: recipe for target 'main.o' failed\n"] * Result: main.cpp:36:20: fatal error: quazip.h: No such file or directory
compilation terminated.
make: *** [main.o] Error 1
["g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/quazip -isystem /usr/include/qt -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp\n", "Makefile:656: recipe for target 'main.o' failed\n"] * Result: main.cpp:36:20: fatal error: quazip.h: No such file or directory
compilation terminated.
make: *** [main.o] Error 1
["g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/quazip -isystem /usr/include/qt -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp\n", "Makefile:656: recipe for target 'main.o' failed\n"] * Result: main.cpp:36:20: fatal error: quazip.h: No such file or directory
compilation terminated.
make: *** [main.o] Error 1
["g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/quazip -isystem /usr/include/qt -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp\n", "Makefile:656: recipe for target 'main.o' failed\n"] * Result: [ FAILED ]
 * Priority: required
 * Seems like you are running unix...
 * You MUST install these dependencies: 
 * URL: 
 * 
 * Configure failed. error was: Missing required dependency

I have quazip-qt5 installed and indeed the quazip.h file exists:

 > locate quazip.h
/usr/include/quazip5/quazip.h

What could be the problem?

Last edited by SanskritFritz (2015-09-14 22:43:16)


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#2 2015-09-14 21:00:04

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [Solved] Compiling tupi fails with missing quazip.h

quazip is built from a split package, patched so you can install both (qt4 and qt5) versions at the same time.

SanskritFritz wrote:
 > locate quazip.h
/usr/include/quazip5/quazip.h
... -isystem /usr/include/quazip ...

Got it?


1000

Offline

#3 2015-09-14 21:18:24

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,928
Website

Re: [Solved] Compiling tupi fails with missing quazip.h

Nope, sorry, I didn't get it.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#4 2015-09-14 22:42:57

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,928
Website

Re: [Solved] Compiling tupi fails with missing quazip.h

But you gave me the idea to install quazip-qt4 as well, and this fixes it. I have no idea why, but tupi runs now, thanks.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#5 2015-09-15 09:20:02

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,928
Website

Re: [Solved] Compiling tupi fails with missing quazip.h

Just one quick question: what should be the dependency line now?

depends=("qt5-tools" "qt5-multimedia" "qt5-svg" "quazip-qt5" "libtheora" "ffmpeg" "aspell" "shared-mime-info")

Can you please explain why installing quazip-qt4 solved the problem?


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#6 2015-09-15 09:43:16

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,403
Website

Re: [Solved] Compiling tupi fails with missing quazip.h

SanskritFritz wrote:

Nope, sorry, I didn't get it.

The configure script is looking for the header in the wrong directory.

In this instance, it doesn't seem to matter since the headers are the same:

$ for file in $(ls quazip); do
md5sum quazip/$file; md5sum quazip5/$file; echo;
done
bd2081bfbcccb24f60b61f68af0c4510  quazip/JlCompress.h
bd2081bfbcccb24f60b61f68af0c4510  quazip5/JlCompress.h

1beeb57c41e1ecf6934b7afa5a1d7e9a  quazip/crypt.h
1beeb57c41e1ecf6934b7afa5a1d7e9a  quazip5/crypt.h

e409630f35f9122efd711b08e9d8c702  quazip/ioapi.h
e409630f35f9122efd711b08e9d8c702  quazip5/ioapi.h

d3f1dbc5fd51042d942b20f9353922db  quazip/quaadler32.h
d3f1dbc5fd51042d942b20f9353922db  quazip5/quaadler32.h

9404c5065710451fea1e07c94e5556a1  quazip/quachecksum32.h
9404c5065710451fea1e07c94e5556a1  quazip5/quachecksum32.h

cfb4cd955e1657c0c586141632a46166  quazip/quacrc32.h
cfb4cd955e1657c0c586141632a46166  quazip5/quacrc32.h

3094fcb119120bb3240a414241dafaf3  quazip/quagzipfile.h
3094fcb119120bb3240a414241dafaf3  quazip5/quagzipfile.h

7375e75b431413babb29a4f64e77559a  quazip/quaziodevice.h
7375e75b431413babb29a4f64e77559a  quazip5/quaziodevice.h

814306c23158daa6d877892487e4a18c  quazip/quazip.h
814306c23158daa6d877892487e4a18c  quazip5/quazip.h

c6bd088bb8ef978b10b623bfd988c9ef  quazip/quazip_global.h
c6bd088bb8ef978b10b623bfd988c9ef  quazip5/quazip_global.h

e111fab1950763774ab9a460a3d2f117  quazip/quazipdir.h
e111fab1950763774ab9a460a3d2f117  quazip5/quazipdir.h

437182f571d995180c235aeb8479a135  quazip/quazipfile.h
437182f571d995180c235aeb8479a135  quazip5/quazipfile.h

9764bf8acadf605cd3d5d5d2b10417b5  quazip/quazipfileinfo.h
9764bf8acadf605cd3d5d5d2b10417b5  quazip5/quazipfileinfo.h

8a7ff1d3a537ebf947fd9319e634701d  quazip/quazipnewinfo.h
8a7ff1d3a537ebf947fd9319e634701d  quazip5/quazipnewinfo.h

c6d1335fbec9540df06b5e192c9fa99a  quazip/unzip.h
c6d1335fbec9540df06b5e192c9fa99a  quazip5/unzip.h

c9664dffe1937486d8af08fcbd1ea0be  quazip/zip.h
c9664dffe1937486d8af08fcbd1ea0be  quazip5/zip.h

I would fix the configure script so it looks in the right directory.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2015-09-15 11:58:00

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,928
Website

Re: [Solved] Compiling tupi fails with missing quazip.h

@WorMzy Thank you, I overlooked this problem even after makepkg warned me about the package containing install directories. Fixed now.
Thanks all!


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

Board footer

Powered by FluxBB