I have an issue installing tightvnc-1.2.3-10 through fink, seems like an
architecture issue.
My machine:
Darwin athena.nyc 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00
PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386
MacBook Pro/ Intel Duo Core
( Let me know if there is anything else I should include )
Log:
( From fink install tightvnc >fink-log.txt 2>&1 )
The following package will be installed or updated:
tightvnc
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-tightvnc-1.2.3-10
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-tightvnc-1.2.3-10' in
`/sw/src/fink.build/fink-buildlock-tightvnc-1.2.3-10_2006.12.29-18.22.05_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-tightvnc-1.2.3-10_2006.12.29-18.22.05_darwin-i386.deb
Selecting previously deselected package fink-buildlock-tightvnc-1.2.3-10.
(Reading database ... 6451 files and directories currently installed.)
Unpacking fink-buildlock-tightvnc-1.2.3-10 (from
.../fink-buildlock-tightvnc-1.2.3-10_2006.12.29-18.22.05_darwin-i386.deb)
...
Setting up fink-buildlock-tightvnc-1.2.3-10 (2006.12.29-18.22.05) ...
gzip -dc /sw/src/tightvnc-1.2.3_unixsrc.tar.gz | /sw/bin/tar -xf -
--no-same-owner --no-same-permissions
sed 's|<PREFIX>|/sw|g' <
/sw/fink/dists/unstable/main/finkinfo/x11-system/tightvnc.patch | patch
-p1
patching file Xvnc/config/imake/imakemdep.h
Hunk #2 succeeded at 552 (offset 12 lines).
Hunk #3 succeeded at 614 (offset 12 lines).
Hunk #4 succeeded at 928 (offset 12 lines).
patching file Xvnc/config/cf/Imake.cf
patching file Xvnc/config/cf/darwin.cf
patching file Xvnc/programs/Xserver/include/servermd.h
patching file Xvnc/programs/Xserver/hw/vnc/Imakefile
patching file vncviewer/Imakefile
patching file Xvnc/config/cf/vnclibs.def
patching file vncserver
Hunk #2 succeeded at 104 with fuzz 2.
xmkmf
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
make World CC=cc LOCAL_LDFLAGS="-force_flat_namespace -L/sw/lib"
EXTRAINCLUDE=-I/sw/include
make Makefiles
making Makefiles in libvncauth...
make[2]: Nothing to be done for `Makefiles'.
making Makefiles in vncviewer...
make[2]: Nothing to be done for `Makefiles'.
making Makefiles in vncpasswd...
make[2]: Nothing to be done for `Makefiles'.
making Makefiles in vncconnect...
make[2]: Nothing to be done for `Makefiles'.
make depend
depending in ./libvncauth...
gccmakedep -- -I. -I../include -I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -- vncauth.c
d3des.c
cc: -E, -S, -save-temps and -M options are not allowed with multiple -arch
flags
depending in ./vncviewer...
gccmakedep -- -I../include -I. -I../lib/zlib -I../lib/jpeg -I/usr/include
-I/sw/include -I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -- argsresources.c colour.c
cursor.c desktop.c dialogs.c fullscreen.c listen.c misc.c
popup.c rfbproto.c selection.c shm.c sockets.c tunnel.c
vncviewer.c
cc: -E, -S, -save-temps and -M options are not allowed with multiple -arch
flags
depending in ./vncpasswd...
gccmakedep -- -I../include -I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -- vncpasswd.c
cc: -E, -S, -save-temps and -M options are not allowed with multiple -arch
flags
depending in ./vncconnect...
gccmakedep -- -I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED --
make all
making all in ./libvncauth...
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I. -I../include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
vncauth.o vncauth.c
vncauth.c: In function 'vncRandomBytes':
vncauth.c:127: warning: implicit declaration of function 'time'
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I. -I../include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
d3des.o d3des.c
d3des.c:37: warning: 'KnR' defined but not used
d3des.c:38: warning: 'Kn3' defined but not used
d3des.c:39: warning: 'Df_Key' defined but not used
rm -f libvncauth.a
ar clq libvncauth.a vncauth.o d3des.o
ranlib libvncauth.a
making all in ./vncviewer...
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
argsresources.o argsresources.c
argsresources.c: In function 'GetArgsAndResources':
argsresources.c:319: warning: 'vncServerName' may be used uninitialized in
this function
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
colour.o colour.c
colour.c: In function 'SetupBGR233Map':
colour.c:428: warning: pointer targets in passing argument 3 of
'XFreeColors' differ in signedness
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
cursor.o cursor.c
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
desktop.o desktop.c
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
dialogs.o dialogs.c
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
fullscreen.o fullscreen.c
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
listen.o listen.c
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
misc.o misc.c
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
popup.o popup.c
popup.c: In function 'CreatePopup':
popup.c:57: warning: 'button' may be used uninitialized in this function
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
rfbproto.o rfbproto.c
rfbproto.c: In function 'HandleRFBServerMessage':
rfbproto.c:608: warning: implicit declaration of function 'HandleRichCursor'
rfbproto.c:580: warning: unused variable 'usecs'
In file included from rfbproto.c:876:
tight.c: In function 'HandleTight8':
tight.c:183: warning: label 'delault' defined but not used
tight.c:98: warning: unused variable 'rawData'
tight.c: In function 'FilterGradient8':
tight.c:438: warning: suggest parentheses around + or - in operand of &
tight.c:452: warning: suggest parentheses around + or - in operand of &
tight.c: In function 'InitFilterPalette8':
tight.c:466: warning: unused variable 'palette'
tight.c:464: warning: unused variable 'i'
In file included from rfbproto.c:883:
tight.c: In function 'HandleTight16':
tight.c:183: warning: label 'delault' defined but not used
tight.c:98: warning: unused variable 'rawData'
tight.c: In function 'FilterGradient16':
tight.c:438: warning: suggest parentheses around + or - in operand of &
tight.c:452: warning: suggest parentheses around + or - in operand of &
tight.c: In function 'InitFilterPalette16':
tight.c:466: warning: unused variable 'palette'
tight.c:464: warning: unused variable 'i'
In file included from rfbproto.c:890:
tight.c: In function 'HandleTight32':
tight.c:183: warning: label 'delault' defined but not used
tight.c:98: warning: unused variable 'rawData'
tight.c: In function 'FilterGradient32':
tight.c:438: warning: suggest parentheses around + or - in operand of &
tight.c:452: warning: suggest parentheses around + or - in operand of &
tight.c: In function 'HandleTight16':
tight.c:191: warning: 'bitsPixel' is used uninitialized in this function
tight.c:93: warning: 'filterFn' may be used uninitialized in this function
tight.c: In function 'HandleTight8':
tight.c:191: warning: 'bitsPixel' is used uninitialized in this function
tight.c:93: warning: 'filterFn' may be used uninitialized in this function
tight.c: In function 'HandleTight32':
tight.c:96: warning: 'bitsPixel' may be used uninitialized in this function
tight.c:93: warning: 'filterFn' may be used uninitialized in this function
rfbproto.c: At top level:
tight.c:82: warning: 'DecompressJpegRectBPP' declared 'static' but never
defined
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
selection.o selection.c
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o shm.o
shm.c
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
sockets.o sockets.c
sockets.c: In function 'AcceptTcpConnection':
sockets.c:331: warning: pointer targets in passing argument 3 of 'accept'
differ in signedness
sockets.c: In function 'SameMachine':
sockets.c:406: warning: pointer targets in passing argument 3 of
'getpeername' differ in signedness
sockets.c:407: warning: pointer targets in passing argument 3 of
'getsockname' differ in signedness
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
tunnel.o tunnel.c
tunnel.c: In function 'processTunnelArgs':
tunnel.c:103: warning: unused variable 'port'
tunnel.c: In function 'processViaArgs':
tunnel.c:134: warning: unused variable 'port'
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include -I.
-I../lib/zlib -I../lib/jpeg -I/usr/include -I/sw/include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
vncviewer.o vncviewer.c
rm -f vncviewer
cc -o vncviewer -g -Os -Wall -Wpointer-arith -no-cpp-precomp
-force_flat_namespace -L/sw/lib -L/usr/X11R6/lib argsresources.o
colour.o cursor.o desktop.o dialogs.o fullscreen.o listen.o
misc.o popup.o rfbproto.o selection.o shm.o sockets.o tunnel.o
vncviewer.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
../libvncauth/libvncauth.a -lz -ljpeg
/usr/bin/ld: warning /usr/X11R6/lib/libXaw.dylib cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file not
loaded)
/usr/bin/ld: warning /usr/X11R6/lib/libXmu.dylib cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file not
loaded)
/usr/bin/ld: warning /usr/X11R6/lib/libXt.dylib cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file not
loaded)
/usr/bin/ld: warning /usr/X11R6/lib/libSM.dylib cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file not
loaded)
/usr/bin/ld: warning /usr/X11R6/lib/libICE.dylib cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file not
loaded)
/usr/bin/ld: warning /usr/X11R6/lib/libXpm.dylib cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file not
loaded)
/usr/bin/ld: warning /usr/X11R6/lib/libXext.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /usr/X11R6/lib/libX11.dylib cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file not
loaded)
/usr/bin/ld: Undefined symbols:
_XtAppAddActions
_XtGetApplicationResources
_XtStrings
_XAllocColor
_XCreateColormap
_XFree
_XFreeColors
_XGetVisualInfo
_XInstallColormap
_XListPixmapFormats
_XQueryColors
_XtShellStrings
_XtVaSetValues
_XCopyArea
_XCreateBitmapFromData
_XCreatePixmap
_XCreatePixmapCursor
_XDefineCursor
_XFreeCursor
_XFreePixmap
_XQueryBestCursor
_XAllocNamedColor
_XChangeWindowAttributes
_XCheckTypedWindowEvent
_XCreateGC
_XCreateImage
_XFillRectangle
_XKeycodeToKeysym
_XLookupString
_XPutImage
_XStringToKeysym
_XSync
_XmuCvtStringToBackingStore
_XtAddConverter
_XtAddEventHandler
_XtVaCreateManagedWidget
_XtVaGetApplicationResources
_coreWidgetClass
_formWidgetClass
_viewportWidgetClass
_XawDialogGetValueString
_XtAppProcessEvent
_XtMalloc
_XtMoveWidget
_XtPopdown
_XtPopup
_XtRealizeWidget
_XtVaCreatePopupShell
_dialogWidgetClass
_transientShellWidgetClass
_XMapWindow
_XReparentWindow
_XSetInputFocus
_XUnmapWindow
_XawViewportSetCoordinates
_XtAppAddTimeOut
_XtManageChild
_XtNameToWidget
_XtRemoveTimeOut
_XtResizeWidget
_XtUnmanageChild
_XtVaGetValues
_XBell
_XCheckIfEvent
_XCloseDisplay
_XCreateWindow
_XDestroyWindow
_XDisplayName
_XDrawString
_XFlush
_XForceScreenSaver
_XFreeFontNames
_XListFonts
_XLoadFont
_XOpenDisplay
_XFetchName
_XGetWindowProperty
_XGrabKeyboard
_XIconifyWindow
_XInternAtom
_XQueryTree
_XSetErrorHandler
_XSetIOErrorHandler
_XSetWMProtocols
_XUngrabKeyboard
_XtAppSetErrorHandler
_XtOverrideTranslations
_XtParseTranslationTable
_XtVaGetSubresources
_commandWidgetClass
_toggleWidgetClass
_XChangeGC
_XMapRaised
_XStoreColor
_XFetchBytes
_XSelectInput
_XStoreBytes
_XmuConvertStandardSelection
_XtAddRawEventHandler
_XtFree
_XtGetSelectionValue
_XtOwnSelection
_XtRegisterDrawable
_XShmAttach
_XShmCreateImage
_XShmQueryExtension
_XtAppAddInput
_XtRemoveInput
_XtVaAppInitialize
collect2: ld returned 1 exit status
make[2]: *** [vncviewer] Error 1
making all in ./vncpasswd...
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I../include
-I/usr/X11R6/include -D__DARWIN__
-DNO_ALLOCA -DCSRG_BASED -no-cpp-precomp -I/sw/include -c -o
vncpasswd.o vncpasswd.c
vncpasswd.c: In function 'main':
vncpasswd.c:103: warning: 'return' with no value, in function returning
non-void
vncpasswd.c:108: warning: control reaches end of non-void function
rm -f vncpasswd
cc -o vncpasswd -g -Os -Wall -Wpointer-arith -no-cpp-precomp
-force_flat_namespace -L/sw/lib -L/usr/X11R6/lib vncpasswd.o
../libvncauth/libvncauth.a
making all in ./vncconnect...
cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11R6/include
-D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED
-no-cpp-precomp -I/sw/include -c -o vncconnect.o vncconnect.c
vncconnect.c: In function 'usage':
vncconnect.c:17: warning: implicit declaration of function 'exit'
vncconnect.c:17: warning: incompatible implicit declaration of built-in
function 'exit'
vncconnect.c: In function 'main':
vncconnect.c:51: warning: incompatible implicit declaration of built-in
function 'exit'
vncconnect.c:58: warning: implicit declaration of function 'strlen'
vncconnect.c:58: warning: incompatible implicit declaration of built-in
function 'strlen'
rm -f vncconnect
cc -o vncconnect -g -Os -Wall -Wpointer-arith -no-cpp-precomp
-force_flat_namespace -L/sw/lib -L/usr/X11R6/lib vncconnect.o -lXext
-lX11
/usr/bin/ld: warning /usr/X11R6/lib/libXext.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /usr/X11R6/lib/libX11.dylib cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file not
loaded)
/usr/bin/ld: Undefined symbols:
_XChangeProperty
_XCloseDisplay
_XDisplayName
_XInternAtom
_XOpenDisplay
collect2: ld returned 1 exit status
make[2]: *** [vncconnect] Error 1
make[1]: *** [all] Error 2
make: *** [World] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-tightvnc-1.2.3-10
(Reading database ... 6452 files and directories currently installed.)
Removing fink-buildlock-tightvnc-1.2.3-10 ...
Failed: phase compiling: tightvnc-1.2.3-10 failed
Before reporting any errors, please run "fink selfupdate" and
try again. If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem. If not, ask on the fink-users
or fink-beginners mailing lists. As a last resort, you can try e-mailing
the maintainer directly:
None <[email protected]>
Note that many fink package maintainers do not (yet) have access to OS X on
Intel hardware, so you may have better luck on the mailing lists.
Please let me know if there is any other information that I could provide
which would be helpful.
Thanks!
~Kat
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel