[bt-devel] QT6 Version
Jaak Ristioja
jaak at ristioja.ee
Wed Mar 20 15:06:57 EDT 2024
On 20.03.24 19:01, David "Judah's Shadow" Blue wrote:
> On Wednesday, March 20, 2024 12:19:14 AM EDT Gary Holmlund wrote:
>>> ~>mkdir build
>>> ~>cmake ../
>>> -DBT_DOCBOOK_XSL_HTML_CHUNK_XSL=/usr/share/xml/docbook/stylesheet/
>>> nwalsh/1.79.2/html/chunk.xsl
>>> -DBT_DOCBOOK_XSL_PDF_DOCBOOK_XSL=/usr/share/xml/
>>> docbook/stylesheet/nwalsh/1.79.2/fo/docbook.xsl
>>> ~>make
>>
>> BibleTime must be installed somewhere ( make install). Then it must be
>> ran from the <install directory>/bin/bibletime.
>
> I tried to run make install and had the same results.
> [ 55%] Linking CXX executable bibletime
> /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld:
> cannot open output file bibletime: Is a directory
> collect2: error: ld returned 1 exit status
>
> From what I can tell make is creating a directory called bibletime and then
> trying to link and create a file called bibletime in the same directory.
>
> So, I think either the directory or the app name needs to change. I would like
> to change the folder name but I'm not sure where in the cmake files to look for
> it.
Maybe you forgot to change your current working directory to "build"?
What I'd probably do is something like this:
cd /path/to/bibletime_sources
mkdir b # build directory, "b" for brevity :)
cd b # <- important, as .. in the next command must be the source dir:
cmake
-DBT_DOCBOOK_XSL_HTML_CHUNK_XSL=/usr/share/xml/docbook/stylesheet/nwalsh/1.79.2/html/chunk.xsl
-DBT_DOCBOOK_XSL_PDF_DOCBOOK_XSL=/usr/share/xml/docbook/stylesheet/nwalsh/1.79.2/fo/docbook.xsl
-DCMAKE_INSTALL_PREFIX=install/ ..
make -j$(nproc) # Or any -j#, such as -j4 for 4 parallel jobs
make install # installs to the dir specified by CMAKE_INSTALL_PREFIX
# Now BibleTime is installed in /path/to/bibletime_sources/b/install
install/bin/bibletime --debug # Runs BibleTime with debug messages on
If you could please tell us the name and version of the Linux
distribution you are using, I could also try build it myself.
Best regards,
Jaak
More information about the bt-devel
mailing list