octave-maintainers
[Top][All Lists]
Advanced

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

qterminal on MacOS X


From: Ben Abbott
Subject: qterminal on MacOS X
Date: Tue, 24 Jan 2012 22:00:25 -0500

Jacob,

I thought I'd try to build octave-gui with the new qterminal. When I 
pull/update the qterminal directory is empty. So I grabbed a copy from your git 
repo.

Then I ...

        cd gui
        cd qterminal
        qmake
        make

Which ends in ...

/Developer/usr/bin/llvm-g++-4.2 -c -pipe -g -gdwarf-2 -fPIC -Wall -W 
-DHAVE_POSIX_OPENPT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/local/include/QtGui 
-I/opt/local/include/QtCore -I/opt/local/include -o kpty.o kpty.cpp
kpty.cpp: In member function ‘void KPty::login(const char*, const char*)’:
kpty.cpp:444: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96)
kpty.cpp:501: error: ‘utmpname’ was not declared in this scope
kpty.cpp:502: error: ‘setutent’ was not declared in this scope
kpty.cpp:503: error: ‘pututline’ was not declared in this scope
kpty.cpp:504: error: ‘endutent’ was not declared in this scope
kpty.cpp:505: error: ‘updwtmp’ was not declared in this scope
kpty.cpp: In member function ‘void KPty::logout()’:
kpty.cpp:540: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96)
kpty.cpp:540: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96)
kpty.cpp:551: error: ‘utmpname’ was not declared in this scope
kpty.cpp:552: error: ‘setutent’ was not declared in this scope
kpty.cpp:553: error: ‘getutline’ was not declared in this scope
kpty.cpp:570: error: ‘pututline’ was not declared in this scope
kpty.cpp:572: error: ‘endutent’ was not declared in this scope

I'm a noob when it comes to c++, but it looks to me as if something in 
/usr/include/utmp.h is amiss. I've attached what Apple has there.

If you already on top of this, please forgive my impatience :-)

Ben

Attachment: utmp.h
Description: Binary data


reply via email to

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