octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MacOS X GUI build


From: Ben Abbott
Subject: Re: MacOS X GUI build
Date: Mon, 30 Jan 2012 19:50:37 -0500

On Jan 30, 2012, at 7:42 PM, Robinson, Melvin D wrote:

>  
> From: Jacob Dawid address@hidden
> Sent: Monday, January 30, 2012 6:04 PM
> To: Robinson, Melvin D
> Cc: address@hidden
> Subject: Re: MacOS X GUI build
> 
> Please navigate to the qterminal directory and then type qmake and make. Is 
> this successful? This should build the qterminal library, which seems to fail 
> on your system. You probably want to repeat that in the qirc directory. Then 
> navigate back to gui/ and do qmake and make.
> 
> Am 31. Januar 2012 00:59 schrieb Robinson, Melvin D <address@hidden>:
>  
> From: Jacob Dawid address@hidden
> Sent: Monday, January 30, 2012 5:53 PM
> To: Robinson, Melvin D
> Cc: address@hidden
> Subject: Re: MacOS X GUI build
> 
> Did you execute compile.sh? Can you pastebin the output of compile.sh?
> 
> Am 31. Januar 2012 00:49 schrieb Robinson, Melvin D <address@hidden>:
> I am trying to build the GUI on Lion and cannot seem to get past this error:
>  
> ld: warning: directory not found for option '-L/opt/local-native/lib'
> ld: library not found for -lqterminal
> collect2: ld returned 1 exit status
> make: *** [bin/octave-gui] Error 1
> I looked at the Makefile and it has /opt/local-native/lib.  Changing this to 
> /opt/local/lib does not help as there are still problems iwth finding the 
> qterminal library. 
>  
> My question is why would the build process introduce such a directory?  The 
> directory is not on my filesystem. 
> 
> 
> 
> -- 
> „Alle sagten: Das geht nicht. Da kam einer, der wusste das nicht und hat's 
> gemacht.“ - Unbekannt
> Sure thing!  See below:
> butterfly:gui melrobin$ ./compile.sh
> Updating qterminal..
> remote: Counting objects: 11, done.
> remote: Finding sources: 100% (11/11), done.
> remote: Total 11 (delta 3)
> Unpacking objects: 100% (11/11), done.
> From https://code.google.com/p/qterminal
>    a076f2c..67a56c4  master     -> origin/master
> Updating a076f2c..67a56c4
> Fast-forward
>  libqterminal/unix/CharacterColor.h      |    2 +-
>  libqterminal/unix/QUnixTerminalImpl.cpp |    5 +++++
>  libqterminal/unix/QUnixTerminalImpl.h   |    1 +
>  3 files changed, 7 insertions(+), 1 deletions(-)
> Updating qirc..
> Already up-to-date.
> /Developer/usr/bin/llvm-g++-4.2 -headerpad_max_install_names 
> -L/opt/local-native/lib -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.7 
> -o bin/octave-gui object-files/lexeroctavegui.o object-files/MainWindow.o 
> object-files/WorkspaceView.o object-files/HistoryDockWidget.o 
> object-files/FilesDockWidget.o object-files/FileEditorMdiSubWindow.o 
> object-files/BrowserWidget.o object-files/ImageViewerMdiSubWindow.o 
> object-files/SettingsDialog.o object-files/OctaveGUI.o 
> object-files/ResourceManager.o object-files/CommandLineParser.o 
> object-files/OctaveCallbackThread.o object-files/OctaveLink.o 
> object-files/OctaveMainThread.o object-files/ReadlineAdapter.o 
> object-files/WelcomeWizard.o object-files/moc_lexeroctavegui.o 
> object-files/moc_MainWindow.o object-files/moc_WorkspaceView.o 
> object-files/moc_HistoryDockWidget.o object-files/moc_FilesDockWidget.o 
> object-files/moc_FileEditorMdiSubWindow.o object-files/moc_BrowserWidget.o 
> object-files/moc_SettingsDialog.o object-files/moc_OctaveCallbackThread.o 
> object-files/moc_OctaveLink.o object-files/moc_OctaveMainThread.o 
> object-files/moc_ReadlineAdapter.o object-files/moc_WelcomeWizard.o    
> -L/usr/local/lib/octave/3.6.0 -lqscintilla2 -Lqirc/libqirc -lqirc -lm 
> -larpack -loctinterp -loctave -lcruft -lutil -Lqterminal/libqterminal 
> -lqterminal -L/opt/local/lib -lQtWebKit -lQtGui -lQtNetwork -lQtCore
> 
> ld: warning: directory not found for option '-L/opt/local-native/lib'
> ld: library not found for -lqterminal
> collect2: ld returned 1 exit status
> make: *** [bin/octave-gui] Error 1
> butterfly:gui melrobin$
> 
> -- 
> „Alle sagten: Das geht nicht. Da kam einer, der wusste das nicht und hat's 
> gemacht.“ - Unbekannt
> After your suggestions, it seems that the build was completed.  Do you know 
> why I get this warning?
>  
> ld: warning: directory not found for option '-L/opt/local-native/lib'

If you use fink then you can edit octave-gui.pro and replace  
'-L/opt/local-native/lib' with '-L/sw/lib'. If you use macports replace it with 
'-L/op/local/lib', if you don't use either  '-L/usr/local/lib'. However, I'm 
not sure it will make any difference.

Ben





reply via email to

[Prev in Thread] Current Thread [Next in Thread]