×

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: 211
  • Thank you received: 23

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


Hmm- the script doesn't do anything but build it - it shouldn't have any impact as to whether or not it is included. If the kstars finds it where it should be it should work out.

Might be safer to just pass the -i - the libindi build is pretty fast
7 years 5 months ago #12134
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

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


I thought that it should not be needed either, since I already had libindi installed, so I tried to skip it for the first time last night. And for the first time, I didn't have an Ekos option in KStars. So I think that you should include it.
7 years 5 months ago #12135
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

report for the script.

I think running ./build-kstars.sh on it's own should show a menu or options and not run anything.
Stephanes-MacBook-Air:kstars-on-osx stephanelucas$ ./build-kstars.sh
^C. <---had to control C it.


I also after the above ran: ./build-kstars.sh -3aei
Stephanes-MacBook-Air:kstars-on-osx stephanelucas$ ./build-kstars.sh -3aei
INDI_ROOT          is [/Users/stephanelucas/IndiRoot]
INDI_DIR           is [/Users/stephanelucas/IndiRoot/indi-stuff]
KSTARS_DIR         is [/Users/stephanelucas/IndiRoot/kstars-stuff]
GSC_DIR            is [/Users/stephanelucas/IndiRoot/gsc]
Qt5_DIR            is [/usr/local/Cellar/qt5/5.7.0]
PATH               is [/usr/local/Cellar/qt5/5.7.0:/usr/local/Cellar/bison/3.0.4/bin:/usr/local/Cellar/gettext/0.19.8.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin]
CMAKE_LIBRARY_PATH is [/usr/local/Cellar/gettext/0.19.8.1/lib]
CMAKE_INCLUDE_PATH is [/usr/local/Cellar/gettext/0.19.8.1/include]
PATH               is [/usr/local/Cellar/qt5/5.7.0:/usr/local/Cellar/bison/3.0.4/bin:/usr/local/Cellar/gettext/0.19.8.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin]
Qt5DBus_DIR        is [/usr/local/Cellar/qt5/5.7.0]
Qt5Test_DIR        is [/usr/local/Cellar/qt5/5.7.0]
Qt5Network_DIR     is [/usr/local/Cellar/qt5/5.7.0]
GSC_TARGET_DIR     is [/Users/stephanelucas/IndiRoot/kstars-stuff/Applications/KDE/kstars.app/Contents/MacOS/gsc]
 
ANNOUNCE            = yep
BUILDING_KSTARS     = yep
BUILD_3RDPARTY      = yep
BUILD_INDI          = yep
BUILD_KSTARS_CMAKE  = 
BUILD_KSTARS_EMERGE = yep
SKIP_BREW           = 
 
############################################################
# Installing brew dependencies
############################################################
Checking brew for qt5, because I didn't find it
Installing : qt5 --with-dbus
==> Installing dependencies for qt5: dbus
==> Installing qt5 dependency: dbus
==> Downloading https://homebrew.bintray.com/bottles/dbus-1.10.12.sierra.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring dbus-1.10.12.sierra.bottle.1.tar.gz
==> Using the sandbox
==> /usr/local/Cellar/dbus/1.10.12/bin/dbus-uuidgen --ensure=/usr/local/var/lib/dbus/machine-id
==> Caveats
To have launchd start dbus now and restart at login:
  brew services start dbus
==> Summary
  /usr/local/Cellar/dbus/1.10.12: 70 files, 1.9M
==> Installing qt5
==> Downloading https://download.qt.io/official_releases/qt/5.7/5.7.0/single/qt-everywhere-opensource-src-5.7.0.tar.xz
==> Downloading from http://www.mirrorservice.org/sites/download.qt-project.org/archive/qt/5.7/5.7.0/single/qt-everywhere-opensource-src-5.7.0.tar.
#####################                                                     30.2%^C


Why is it trying to download Qt5 from brew when I have already installed Qt5 from the dmg?
Stephanes-MacBook-Air:Qt5.7.0 stephanelucas$ pwd 
/Users/stephanelucas/Qt5.7.0
Stephanes-MacBook-Air:Qt5.7.0 stephanelucas$ ls -la
total 118944
drwxr-xr-x  14 stephanelucas  staff       476 16 Nov 21:26 .
drwxr-xr-x+ 16 stephanelucas  staff       544 16 Nov 21:22 ..
drwxr-xr-x   4 stephanelucas  staff       136 16 Nov 21:20 5.7
drwxr-xr-x   3 stephanelucas  staff       102 16 Nov 21:19 Docs
drwxr-xr-x   3 stephanelucas  staff       102 16 Nov 21:19 Examples
-rw-r--r--   1 stephanelucas  staff   2980635 16 Nov 21:26 InstallationLog.txt
drwxr-xr-x   4 stephanelucas  staff       136 16 Nov 21:19 Licenses
drwxr-xr-x   3 stephanelucas  staff       102 16 Nov 21:23 MaintenanceTool.app
-rw-r--r--   1 stephanelucas  staff  57868330 16 Nov 21:23 MaintenanceTool.dat
-rw-r--r--   1 stephanelucas  staff      8919 16 Nov 21:23 MaintenanceTool.ini
drwxr-xr-x   3 stephanelucas  staff       102 16 Nov 21:18 Qt Creator.app
-rw-r--r--   1 stephanelucas  staff     24724 16 Nov 21:23 components.xml
drwxr-xr-x   3 stephanelucas  staff       102 16 Nov 21:20 dist
-rw-r--r--   1 stephanelucas  staff       362 16 Nov 21:23 network.xml
Stephanes-MacBook-Air:Qt5.7.0 stephanelucas$
Last edit: 7 years 5 months ago by Gonzothegreat.
7 years 5 months ago #12136
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

I got it:
Stephanes-MacBook-Air:kstars-on-osx stephanelucas$ diff build-kstars.sh build-kstars.sh.original 
214c214
<     if [ ! -d ~/Qt5.7.0/5.7/clang_64/bin ]
---
>     if [ ! -d ~/Qt/5.7/clang_64/bin ]
Stephanes-MacBook-Air:kstars-on-osx stephanelucas$
7 years 5 months ago #12137
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

Jamie, you funny.... I thought I was going crazy when I heard my MBA talked to me while the script was running.... ;)
7 years 5 months ago #12138
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

GSC install part:


Qt5Network :


Emerge failure:


I think that part of the script didn't run correctly:
if [ ! -f ~/.gitconfig -o $(grep -c kde.org ~/.gitconfig) -eq 0 ]
    then
    cat << EOF >> ~/.gitconfig
 
[url "git://anongit.kde.org/"]
    insteadOf = kde:
[url "ssh://git@git.kde.org/"]
    pushInsteadOf = kde:
 
EOF

added the ~/.gitconfig manually, and ran the script again:
CMake Error at CMakeLists.txt:14 (find_package):
  Could not find a package configuration file provided by "Qt5" (requested
  version 5.5.0) with any of the following names:
 
    Qt5Config.cmake
    qt5-config.cmake
 
  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.
 
 
-- Configuring incomplete, errors occurred!
See also "/Users/stephanelucas/IndiRoot/kstars-stuff/build/frameworks/kconfig/work/mingw-w64-RelWithDebInfo-master/CMakeFiles/CMakeOutput.log".
emerge warning: while running configure cmd: cmake -G "Ninja"  -DCMAKE_INSTALL_PREFIX="/Users/stephanelucas/IndiRoot/kstars-stuff" -DCMAKE_PREFIX_PATH="/Users/stephanelucas/IndiRoot/kstars-stuff" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUNDLE_INSTALL_DIR="/Users/stephanelucas/IndiRoot/kstars-stuff/Applications/KDE" -DAPPLE_SUPPRESS_X11_WARNING=ON "/Users/stephanelucas/IndiRoot/kstars-stuff/download/git/kconfig"
emerge warning: Action: compile for frameworks/tier1/kconfig FAILED
*** Emerge all failed: all of frameworks/kconfig failed after 0:00:05 ***
emerge error: fatal error: package frameworks/kconfig all failed
 
############################################################
# Something failed
############################################################
Stephanes-MacBook-Air:kstars-on-osx stephanelucas$

got that fixed by editing the build-env.sh script, the Qt path was wrong too.
Last edit: 7 years 5 months ago by Gonzothegreat.
7 years 5 months ago #12139
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

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


I thought that was the best part of his script!!!
7 years 5 months ago #12143
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

I need to review the following failure, at the end of the compile too !!!!! grrrrrrr
*** Action: qmerge for kde/applications/kstars ***
*** Emerge all succeeded: all of kde/kstars succeeded after 0:09:16 ***
 
real	34m28.312s
user	81m53.216s
sys	6m52.994s
 
############################################################
# EMERGE COMPLETE
############################################################
 
############################################################
# Prepping some other stuff
############################################################
 
############################################################
# The Data Directory
############################################################
[b]copying from /Users/stephanelucas/usr/local/share/kstars
cp: /Users/stephanelucas/usr/local/share/kstars/*: No such file or directory[/b]
 
############################################################
# Something failed
############################################################
Stephanes-MacBook-Air:kstars-on-osx stephanelucas$ 


EDIT:

Stephanes-MacBook-Air:kstars-on-osx stephanelucas$ ls -ld /Users/stephanelucas/usr/local/share/kstars
ls: /Users/stephanelucas/usr/local/share/kstars: No such file or directory
Stephanes-MacBook-Air:kstars-on-osx stephanelucas$
Last edit: 7 years 5 months ago by Gonzothegreat.
7 years 5 months ago #12144
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

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


The problem here is that it isn't an install package - it is an "app" - what I could do - if it isn't there, just spit out a link to it and say "install this". Basically - I could FORCE this to be one or the other.

Honestly - it is us that will be doing this. Which way do you guys want it? I could just check for the dir, and if it is not there just bail.
7 years 5 months ago #12145
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

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

Going at these one at a time-

Checked in a script change that doesn't do anything if a build flag isn't set:

git commit -m "if no build flags (i, c, or e) are present, assume dry run"
The following user(s) said Thank You: Gonzothegreat
7 years 5 months ago #12146
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

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

Honestly, if the only problem with the script is that we have to copy directories, that is not too bad, especially if you keep a copy on hand in an easy to copy folder. However, that being said, there could be an update at some point to the data directory and I would like it to automatically copy that in there if possible
7 years 5 months ago #12147
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

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

I'm typing this on a brand new shiny MacBook Pro with touchbar!!! One of the first things I did was install Xcode and qt creator. Once that finishes, I will be running Jamie's script. We will see how this goes on a laptop that has never done any development yet.
7 years 5 months ago #12148
The topic has been locked.
Time to create page: 0.720 seconds