liteide icon indicating copy to clipboard operation
liteide copied to clipboard

Cannot build on OpenBSD 6.9

Open ccheets opened this issue 4 years ago • 0 comments

Please answer these questions before submitting your issue. Thanks! Please download LiteIDE latest version and test before submitting your issue. Thanks!

What version of LiteIDE are you using (LiteIDE About - Version and Build Qt Version)?

commit e9b635bd5e234a43671db324eaf94236ffe067f2 (HEAD -> master, origin/master, origin/HEAD) Author: visualfc [email protected] Date: Mon Mar 8 23:43:37 2021 +0800

Create FUNDING.yml

What version of Go are you using (go version)?

go version go version go1.16.2 openbsd/amd64

What operating system and processor architecture are you using(go env)?

GOARCH="amd64" GOHOSTOS="openbsd"

What did you do?

If possible, provide a recipe for reproducing the error. ran build script in README.md

What did you expect to see?

build successfull

What did you see instead?

3rdparty dependency (ptyqt) failed to build due to dependency on utmpx.h which is not in openbsd.

cd ptyqt/ && make -f Makefile ec++ -c -pipe -O2 -O2 -fPIC -Wall -W -pthread -DLITEAPP_LIBRARY -DIDE_LIBRARY_BASENAME="lib" -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DLITEIDE_QTWEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/lib/qt4/mkspecs/openbsd-g++ -I../../../../liteidex/src/3rdparty/ptyqt -I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtGui -I/usr/local/include/X11/qt4 -I../../../../liteidex/src/api -I../../../../liteidex/src/api/liteapi -I../../../../liteidex/src/utils -I../../../../liteidex/src/3rdparty -I.moc/release-shared -I/usr/local/include -I. -o .obj/release-shared/unixptyprocess.o ../../../../liteidex/src/3rdparty/ptyqt/core/unixptyprocess.cpp ../../../../liteidex/src/3rdparty/ptyqt/core/unixptyprocess.cpp:6:10: fatal error: utmpx.h: No such file or directory #include <utmpx.h> ^~~~~~~~~ compilation terminated. *** Error 1 in src/3rdparty/ptyqt (Makefile:229 '.obj/release-shared/unixptyprocess.o') *** Error 2 in src/3rdparty (Makefile:634 'sub-ptyqt-make_default-ordered') *** Error 2 in src (Makefile:84 'sub-3rdparty-make_default-ordered') *** Error 2 in /home/x/liteide/build (Makefile:42 'sub-src-make_default-ordered') error, make fail

ccheets avatar Jun 14 '21 16:06 ccheets