×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Ekos on Mac OS X ?

  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

And as I do NOT want to wait hours of Qt5 compiling, I will use the Qt5 dmg file only as I hear it works.
7 years 6 months ago #11591
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

Replied by Jamie Smith on topic Ekos on Mac OS X ?

$ >brew install --verbose astrometry-net
==> Installing astrometry-net from homebrew/science
==> Installing dependencies for homebrew/science/astrometry-net: wcslib
==> Installing homebrew/science/astrometry-net dependency: wcslib
==> Downloading ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-5.12.tar.bz2
/usr/bin/curl --fail --remote-time --location --user-agent Homebrew/1.0.9 (Macintosh; Intel macOS 10.12.1) curl/7.49.1 ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-5.12.tar.bz2 -C 0 -o /Users/jamie/Library/Caches/Homebrew/wcslib-5.12.tar.bz2.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:01:14 --:--:--     0curl: (7) Failed to connect to ftp.atnf.csiro.au port 21: Operation timed out
Error: Failed to download resource "wcslib"
Download failed: ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-5.12.tar.bz2

Astrometry is borked...
7 years 6 months ago #11592
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

Replied by Jamie Smith on topic Ekos on Mac OS X ?


I did wait hours, and I might need the dmg anyway - the emerge instructions have this:
I was able to suss out what I needed to grab my gettext :
GET_TEXT_BIN=$(ls -td  $(brew --cellar gettext)/*/bin)
export PATH=${GET_TEXT_BIN}:$PATH

But my qt that I installed via
brew install qt5 --with-dbus
doesn't have a clang_64 dir under it - which programs under that do we need in the path? Maybe I have them elsewhere.
-- The following OPTIONAL packages have not been found:
 
 * Sphinx (required version >= 1.2) , Tool to generate documentation. , <http://sphinx-doc.org/>
   Required to build documentation for Extra CMake Modules.
 * QCollectionGenerator , Qt help collection generator. , <http://www.qt.io/>
   Required to build Extra CMake Modules documentation in Qt Help format.
 * Qt5LinguistTools , Qt5 linguist tools. , <http://www.qt.io/>
   Required to run tests for the ECMPoQmTools module.
 * Qt5Core , Qt5 core library. , <http://www.qt.io/>
   Required to run tests for the ECMQtDeclareLoggingCategory module, and for some tests of the KDEInstallDirs module.
 * PythonModuleGeneration
 
-- Configuring incomplete, errors occurred!

When downloading that qt, which one do we use? downloading the offline one now...
What do I even do with it?

File Attachment:

File Name: CMakeOutput.log.txt
File Size:34 KB
Last edit: 7 years 6 months ago by Jamie Smith.
7 years 6 months ago #11593
Attachments:
The topic has been locked.
  • Posts: 82
  • Thank you received: 9

Replied by Adam on topic Ekos on Mac OS X ?


When using the homebrew qt5 you probably could use $(brew --prefix qt5)/bin or /usr/local/Cellar/qt5/5.7.0/bin
7 years 6 months ago #11594
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

Replied by Rob Lancaster on topic Ekos on Mac OS X ?

I am fairly sure either the qt5 from homebrew or the other will work, we just need to figure out the export paths for each.
7 years 6 months ago #11595
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?


Well, just arrived back from work, straight on the latest emerge document. I shall report when I reach Qt5 and after steps...
7 years 6 months ago #11596
The topic has been locked.
  • Posts: 82
  • Thank you received: 9

Replied by Adam on topic Ekos on Mac OS X ?

I have a compilation error with KStars at the moment:
[  5%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/indi/drivermanager.cpp.o
/Users/adam/Projects/kstars/kstars/indi/drivermanager.cpp:956:17: error: no
      member named 'indiDriversAreInternal' in 'Options'
    if(Options::indiDriversAreInternal())
       ~~~~~~~~~^
1 error generated.
make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/indi/drivermanager.cpp.o] Error 1
make[1]: *** [kstars/CMakeFiles/KStarsLib.dir/all] Error 2
make: *** [all] Error 2
7 years 6 months ago #11597
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

Replied by Jamie Smith on topic Ekos on Mac OS X ?

This seems to have worked for me on the extra-cmake-modules:

GET_TEXT_BIN=$(ls -td $(brew --cellar gettext)/*/bin)
export PATH=$(brew --prefix qt5)/bin:${GET_TEXT_BIN}:$PATH

Now, trying to CMAKE indi -
Should the emerge instructions be completely stand-alone? When I do the cmake in the build/libindi I get:
(...)
CMake Error at /Users/jamie/IndiRoot/indi-stuff/indi/cmake_modules/FindNova.cmake:49 (message):
  libnova not found.  Please install libnova development package.
Call Stack (most recent call first):
  CMakeLists.txt:73 (FIND_PACKAGE)

So I still needed to:
- brew tap polakovic/astronomy
- brew install polakovic/astronomy/libnova

Then the subsequent make failed on (you guessed it) -lgsl - so we still need the update to the other CMake:
sed -i '' 's#target_link_libraries(AlignmentDriver ${GSL_LIBRARIES})#target_link_libraries(AlignmentDriver -L/usr/local/lib ${GSL_LIBRARIES})#'  indi/libindi/libs/indibase/alignment/CMakeLists.txt


So you might want to add that to the emerge instructions.
The following user(s) said Thank You: Gonzothegreat
Last edit: 7 years 6 months ago by Jamie Smith. Reason: gsl, too
7 years 6 months ago #11598
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?


same here, I guess we have to wait :(
7 years 6 months ago #11599
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


Thank you for finding this. Apparently what I did was I edited the wrong file. I added several boolean methods to the Options file to get whether the files are internal or external. But I didn't understand that the Options file is automatically generated from another file, so my boolean methods were not included in the changes I sent to the git. Apparently I need to write them in a different file and make sure it works, then resubmit. I can do that later today.
7 years 6 months ago #11600
The topic has been locked.
  • Posts: 82
  • Thank you received: 9

Replied by Adam on topic Ekos on Mac OS X ?

No problem, I already added the necessary entries to my local file and it works again. Here is my file (as one can only attach .txt files: rename to kstars.kcfg and replace ~/Projects/kstars/kstars/kstars.kcfg), in case others get stuck at compiling kstars before your changes reach the repo.
7 years 6 months ago #11602
Attachments:
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

patch for CMakeLists.txt in libindi

If like me you're fed-up of editing this file, here's a patch.

File Attachment:

File Name: CMakeLists-patch.txt
File Size:1 KB

rename it to CMakeLists-patch
Stephanes-MacBook-Air:Projects stephanelucas$ patch < CMakeLists-patch 
patching file CMakeLists.txt
Stephanes-MacBook-Air:Projects stephanelucas$ grep -A6 indiclient_SRCS CMakeLists.txt
set (indiclient_SRCS
        ${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/basedevice.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/baseclient.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/indiproperty.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/libs/lilxml.c
	${CMAKE_CURRENT_SOURCE_DIR}/base64.c
    )
--
Last edit: 7 years 6 months ago by Gonzothegreat.
7 years 6 months ago #11604
Attachments:
The topic has been locked.
Time to create page: 0.770 seconds