[MacPorts] #16293: filelight New Portfile
MacPorts
noreply at macports.org
Tue Aug 12 08:43:45 PDT 2008
#16293: filelight New Portfile
---------------------------------+------------------------------------------
Reporter: zweistein12 at gmx.de | Owner: macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Submissions
Component: ports | Version: 1.6.0
Resolution: | Keywords:
---------------------------------+------------------------------------------
Comment (by macsforever2000 at macports.org):
A few comments: [[BR]]
1. You should use ${prefix} instead of hardcoding "/opt/local". [[BR]]
2. You need to add dependencies required such at qt3. [[BR]]
3. It does not build for me:[[BR]]
{{{
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_Users_schimaf_Downloads/work/filelight-1.0"
&& make all " returned error 2
Command output: /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../..
-I/opt/local/include -I/opt/local/include/qt3/ -I/usr/X11/include
-I../../src -DQT_THREAD_SUPPORT -I/opt/local/include -Wno-long-long
-Wundef -Wall -W -Wpointer-arith -O2 -O2 -Wno-non-virtual-dtor -fno-
exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o
historyAction.o `test -f 'historyAction.cpp' || echo
'./'`historyAction.cpp
/opt/local//bin/moc ./mainWindow.h -o mainWindow.moc
source='mainWindow.cpp' object='mainWindow.o' libtool=no \
depfile='.deps/mainWindow.Po' tmpdepfile='.deps/mainWindow.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../..
-I/opt/local/include -I/opt/local/include/qt3/ -I/usr/X11/include
-I../../src -DQT_THREAD_SUPPORT -I/opt/local/include -Wno-long-long
-Wundef -Wall -W -Wpointer-arith -O2 -O2 -Wno-non-virtual-dtor -fno-
exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o
mainWindow.o `test -f 'mainWindow.cpp' || echo './'`mainWindow.cpp
source='main.cpp' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../..
-I/opt/local/include -I/opt/local/include/qt3/ -I/usr/X11/include
-I../../src -DQT_THREAD_SUPPORT -I/opt/local/include -Wno-long-long
-Wundef -Wall -W -Wpointer-arith -O2 -O2 -Wno-non-virtual-dtor -fno-
exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o
main.o `test -f 'main.cpp' || echo './'`main.cpp
/bin/sh ../../libtool --silent --mode=link --tag=CXX /usr/bin/g++-4.0
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -O2 -Wno-non-virtual-
dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-L/opt/local/lib -dylib_file
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
-o filelight -L/opt/local/lib -L/usr/X11/lib -R /opt/local/lib -R
/opt/local/lib -R /opt/local/lib -R /usr/X11/lib historyAction.o
mainWindow.o main.o -lkparts -lkdeui
Making all in part
Making all in radialMap
/opt/local//bin/moc ./widget.h -o widget.moc
source='widget.cpp' object='widget.lo' libtool=yes \
depfile='.deps/widget.Plo' tmpdepfile='.deps/widget.TPlo' \
depmode=gcc3 /bin/sh ../../../admin/depcomp \
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/part
-I/opt/local/include -I/opt/local/include/qt3/ -I/usr/X11/include
-DQT_THREAD_SUPPORT -I/opt/local/include -Wno-long-long -Wundef -Wall -W
-Wpointer-arith -O2 -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-
new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o widget.lo `test -f 'widget.cpp'
|| echo './'`widget.cpp
widget.cpp: In member function 'void RadialMap::Widget::zoomIn()':
widget.cpp:165: error: 'Config' has not been declared
widget.cpp:165: error: 'defaultRingDepth' was not declared in this scope
widget.cpp: In member function 'void RadialMap::Widget::zoomOut()':
widget.cpp:175: error: 'Config' has not been declared
widget.cpp:175: error: 'defaultRingDepth' was not declared in this scope
widget.cpp:176: error: 'Config' has not been declared
make[4]: *** [widget.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macports.org/ticket/16293#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list