![]() |
Building Sigil on Haiku
Hi everyone.
Need building manual Sigil on Haiku. Or your help. P.S. Лучше на русском. |
If Haiku supports Qt5.9.x or higher, you should use the Linux build documentation and adjust accordingly. That's all assuming it's even possible if course. I've absolutely no experience with the OS in question, and the internet isn't very forthcoming about what's available in the way of packages for Haiku. All I know is that if you're running a 32-bit version that still uses a fork of gcc2, then you're very likely out of luck.
|
2 Attachment(s)
Hello.
Unfortunately, QtWebEngine does not currently work on the Haiku system. Therefore, I leave the idea of building Sigil in this operating system until better times. There is no particular desire to mess with version 0.9.14. And the assembly according to the instructions for Linux, which is called "on the fly", did not bring results. Who cares about the log files with errors: |
Your libc seems to be missing the 64bit file functions.
The entire remainder of the log was just known warnings that do not matter. Kevin boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/8.3.0/../../../../x86_64-unknown-haiku/bin/ld: ../lib/libminizip.a(ioapi.c.o): in function `fseek64_file_func': ioapi.c:(.text+0x11e): undefined reference to `fseeko64' /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/8.3.0/../../../../x86_64-unknown-haiku/bin/ld: ../lib/libminizip.a(ioapi.c.o): in function `ftell64_file_func': ioapi.c:(.text+0x14a): undefined reference to `ftello64' /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/8.3.0/../../../../x86_64-unknown-haiku/bin/ld: ../lib/libminizip.a(ioapi.c.o): in function `fopen64_file_func': ioapi.c:(.text+0x185): undefined reference to `fopen64' collect2: error: ld returned 1 exit status make[2]: *** [bin/sigil] Error 1 make[1]: *** [src/CMakeFiles/sigil.dir/all] Error 2 Quote:
|
I have installed Haiku x86_64 hrev53511. Everything there is 64-bit, there is no other.
I think this is a minizip error. |
You could try building with whatever 64-bit version of minizip that Haiku provides (and other 3rd-party libs included with Sigil). The CMAKE directives are explained in the Sigil build documentation:
Quote:
Or alternatively; if it is the system version of minizip that is failing, consider using the versions bundled with Sigil. EDIT: from your provided cmake log, it looks like you're using mostly system libraries for Sigil's third-party dependencies--with the exception of zlib. You're using the version that comes with Sigil for that. Try installing the 64-bit zlib and zlib_devel packages that Haiku provides and adding -DSYSTEM_LIBS_REQUIRED=1 to the Sigil cmake configuration command so that the build fails if the system versions of all the third-party libraries can't be found. I don't think I'd recommend using our bundled version of zlib with Haiku's system version of minizip (which is what is happening by the looks of your log). |
DiapDealer
Are you planning to upgrade the libraries included in the 3rdparty? They’re very, very old. I understand that this will take a lot of time and require some changes. But still? For example, Hunspell can only be updated to version 1.3.4. All of the above, without changing the code, no longer works. Or I'm wrong? |
Quote:
But no, we've no plans to update the bundled libraries right now. Other things are taking priority. Especially with Linux's ability to already use their own updated system versions of the 3rd-party libraries. |
My guess is just adding support for Haiku on line 17 of minizip/ioapi.c to make it do what Apple does here would be enough:
https://github.com/Sigil-Ebook/Sigil...inizip/ioapi.c |
It's possible. If so, I'd guess there's a few places where if_defined(HAIKU) would need to be introduced for a successful build.
I messed around with BeOS a long time ago (which is apparently what Haiku is based/modeled after), but not enough to know the ins and outs. |
2 Attachment(s)
Switched libraries to system, except pcre.
In" 3rdparty " updated pcre to version 8.43 Code:
-- Trying to use System Libraries...However, when starting sigil, there are multiple errors. In short, a great field for activity. |
I ask for your clarification:
There are such terms in the cmake logfile Code:
-- Looking for windows.h/boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/8.3.0/include/c++/ext Tell me where and how to register the paths to this and other files? Thanks! |
Quote:
|
Quote:
I think your previous attempt was very, very close. You were probably only missing a required Python module. I've seen the exact error messages you attached before, and missing Python modules was nearly always the culprit. |
Quote:
|
| All times are GMT -4. The time now is 06:23 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.