Menu

#28 How to build Biblioteq on OSX?

v1.0 (example)
closed
nobody
None
5
2015-04-24
2015-04-22
Frans
No

How to build Biblioteq on OSX?

I tried:

qmake -o Makefile biblioteq.osx.pro

but nothing seems to happen, no Makefile generated and no errors either.

The pre-build dmg package is running fine, but I want to rebuild it due to several modifications I made to the source files. On Linux it is building without problems.

I am definitely not an OSX expert...

Regards Frans

Discussion

  • Guess Who

    Guess Who - 2015-04-22

    You're back!

    Which version of OS X? How about Qt?

    Have you tried 'qmake -o Makefile biblioteq.osx.pro -spec macx-g++'?

    Also, I suggest you install homebrew. Please see http://brew.sh/ for more information. If you do not install homebrew or some similar package manager, you'll need to install all the BQ requirements yourself.

     
  • Frans

    Frans - 2015-04-22

    Thanks a lot, I have installed homebrew and then ran qmake again with option -spec macx-g++ and now it is generating the Makefile and builds without problems!

    I downloaded and installed the qt.4.8.4.dmg package and YAZ already successfully before. Is YAZ really needed or only when you want to import data from the external libraries?

    Anyway, thanks a lot for these missing links!!

    BTW, I am running on a virtualized Mountain Lion.

     

    Last edit: Frans 2015-04-22
  • Guess Who

    Guess Who - 2015-04-22

    If you prefer not to use YAZ, you'll need to conditionally remove all of its references in the source. You will also need to make the UI appear pleasant.
    Probably easier to install it.

    Why 4.8.4? The latest is 4.8.6. BQ also supports Qt 5.x. Use biblioteq.osx.qt5.pro if you're interested.

     
  • Guess Who

    Guess Who - 2015-04-22

    Which unfortunate project are you using BQ for anyway?

     
  • Frans

    Frans - 2015-04-22

    I use it for a customer of mine who has a health centre in the Netherlands with a small library with mainly Dutch books and magazines. There is a site boektrust.nl which has about 2 millions Dutch books in their system and a free API to retrieve basic book info by means of ONIX xml format. So I have added ONIX import for books besides Z39 and SRU. And finally they will use the online version for clients.

    They have started now with filling up the database. But since BiblioteQ is running on my server, they have to run it remotely by means of an X server which turned out to be rather slow. So they asked for a local install on their MAC. And indeed running BiblioteQ on my virtualized MAC is already much faster then using an X-server.

    The reason for using qt4 is that I started to use that version in the first place. And you never know what comes across when upgrading to newer versions... But if finally everything is running fine I will definitely try qt5. Also still using BiblioteQ version 6.70 , I still need to merge my local version with the latest 10.01.

    Installing YAZ seems to be the quickest way indeed.

     
  • Guess Who

    Guess Who - 2015-04-22

    Nice application. I didn't expect BQ to become this helpful. It's still just a hobby.

     
  • Guess Who

    Guess Who - 2015-04-24

    Don't forget to use the official source at github.com/textbrowser/biblioteq, closing!

     
  • Guess Who

    Guess Who - 2015-04-24
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB