MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Sigil (https://www.mobileread.com/forums/forumdisplay.php?f=203)
-   -   Sigil on Lion So Slow (https://www.mobileread.com/forums/showthread.php?t=143925)

mhikl 07-23-2011 01:03 AM

Sigil on Lion So Slow
 
I upgraded to Lion (OS X 7) and Sigil is suddenly painfully slow. I persevered but then Sigil crashed and I lost all my work. I closed all other apps but that hadn't helped so I shut down and then restarted the computer. Sigil was the only app open but it was still slow, though didn't seem quite as slow as previously but then the crash happened.

Curious if anyone else is having this problem. I have only 2.5 MB SDRAM and 4 is recommended but my MacBook (2.16) can't take 4.

On the positive, the improvements in Sigil (speed previously on Snow Leopard), stability and operations are commendable and Sigil had become very smooth to work with.

Cheers,
mhikl

Barcey 07-23-2011 08:54 AM

I'm on Lion and was just using Sigil 0.3.4 to clean up the table of contents in some e-books and didn't notice a speed difference. I do have 4GB of RAM.

user_none 07-23-2011 11:44 AM

Output from building Sigil on Lion:

Quote:

/Users/john/QtSDK/Desktop/Qt/473/gcc/include/QtCore/qglobal.h:320:6: warning: #warning "This version of Mac OS X is unsupported"
Until Qt gets an update for Lion any issues with Sigil on Lion can't really be fixed...

KevinH 07-23-2011 01:30 PM

Hi,

I am using Lion and Sigil 4.0 RC works jut fine. You can still build with QT 4.7.3 but you must point to the 10.6 SDK .

So I think your slowness issue must be machine specific.

user_none 07-23-2011 02:02 PM

@KevinH, Is there anything special you did to modify the build system for Lion? I can't get it to build at all on Lion.

KevinH 07-23-2011 02:17 PM

Hi,

I downloaded XCode 4.1 dev tools from the app store (now free) but you must actually run the InstallXCode app manually.

I just pointed the dev tools to use the 10.6 SDK but it was not a build from scratch.

I will try a full build from scratch and look to see what is up.

KevinH

KevinH 07-23-2011 05:13 PM

Hi user_none,

Here is my current build process on Lion for Sigil-0.4.0RC1


Build Instructions on Mac OS X Lion
Using CMake and Command Line Tools and not XCode Dev Environment
(Unfortunately I only use command line tools and don't know Xcode dev env at all).

1. download and install the latest Developer Tools from the Mac App Store
(XCode Version 4.1) - Note the Appstore actually give you an InstallXcode.app in
/Applications after download that you must run manually to do the actual install.

2. download and install CMake 2.8-5 from cmake.org (you do need the latest)

3. download and install qt libs/ide opensource for mac 4.73 (you do not need the entire 1 gig SDK unless you want it) from qt.nokia.com

4. in a new directory do the following:

unzip Sigil-0.4.0RC1-Code.zip
mkdir build

5. Unless you have done a special install with XCode you must build with the 10.6.sdk
which you can do by editing Sigil-0.4.0-Code/CMakeList.txt and making the following changes:

--- CMakeLists.txt~ 2011-04-22 10:18:00.000000000 -0400
+++ CMakeLists.txt 2011-07-23 14:29:03.000000000 -0400
@@ -41,12 +41,12 @@
endif()

# We need this to make sure g++ and the linker
-# create exes that can run on 10.5+
-set( CMAKE_OSX_DEPLOYMENT_TARGET "10.5" )
+# create exes that can run on 10.6+
+set( CMAKE_OSX_DEPLOYMENT_TARGET "10.6" )

-# Build fails with the 10.4 SDK, so we'll just have to use
-# the 10.5 one and hope for the best.
-set( CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.5.sdk" )
+# Build fails with the 10.5 SDK, so we'll just have to use
+# the 10.6 one and hope for the best.
+set( CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.6.sdk" )

# Universal builds for mac
set( CMAKE_OSX_ARCHITECTURES "i386;x86_64" )


6. Then do the following:

cd build
cmake -G "Unix Makefiles" -DCMAKE_BUIlD_TYPE=Release ../Sigil-0.4.0-Code/

and when it completes simply type

make


and cmake takes over and you can watch the progress of your build.

The build completed just fine. You will find the just built Sigil.app in the bin/ subdirectory created in your build directory.

user_none 07-23-2011 08:54 PM

Quote:

Originally Posted by KevinH (Post 1671958)
The build completed just fine. You will find the just built Sigil.app in the bin/ subdirectory created in your build directory.

I guess I'm going to have to play with it some. I'm getting linker errors and missing vtable entries ... Some days I regret moving from Linux to OS X.

KevinH 07-23-2011 10:04 PM

Quote:

Originally Posted by user_none (Post 1672180)
I guess I'm going to have to play with it some. I'm getting linker errors and missing vtable entries ... Some days I regret moving from Linux to OS X.

Hi,

You are probably building the latest trunk checkout whereas I just bult the Sigil 0.4.0 RC1 from the zip source archive you can download from the Sigil site.

You might want to try with that same source zip just to verify that your tool chain is working properly.

Take Care,

Kevin

user_none 07-24-2011 09:45 PM

Thanks for your help Kevin. I was able to get it to build properly. I was using the Qt SDK because of the updater app. Once I removed it and installed the standalone Qt package the build succeeded.

dreamwolf 07-24-2011 11:55 PM

RAM
 
Quote:

Originally Posted by mhikl (Post 1670978)
I upgraded to Lion (OS X 7) and Sigil is suddenly painfully slow. I persevered but then Sigil crashed and I lost all my work. I closed all other apps but that hadn't helped so I shut down and then restarted the computer. Sigil was the only app open but it was still slow, though didn't seem quite as slow as previously but then the crash happened.

Curious if anyone else is having this problem. I have only 2.5 MB SDRAM and 4 is recommended but my MacBook (2.16) can't take 4.

On the positive, the improvements in Sigil (speed previously on Snow Leopard), stability and operations are commendable and Sigil had become very smooth to work with.

Cheers,
mhikl




DREAMWOLF RESPONSE: You have 2.5 MB SDRAM. LION is has so much current memory just waiting for responses from it's new swipe features. I would highly recommend upgrading to a machine using 4GB minimum for comfort for the next 4 years in my opinion. From what I've read in the currents, 2GB should be the bare minimum for any laptop. Good luck if you should decide to upgrade, it will be worth it!


All times are GMT -4. The time now is 10:57 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.