install manopen fails on 10.5.5
joseph davison
jwdavison at me.com
Thu Dec 11 08:53:24 PST 2008
AHA!
The problem is that there's a check to see if this is panther or
earlier, and if it is, it creates an NSSimpleHorizontalTypesetter.
I put an ifdef around it with an undefined value and it compiles fine
and works.
I don't know what the right way to do that fix is, but that's what the
problem is -- perhaps the maintainer can Do The Right Thing?
That should probably be a bug report, eh?
joe
On Dec 9, 2008, at 6:19 PM, joseph davison wrote:
> Oh I See...
>
> NSSimpleHorizontalTypeSetter was deprecated in 10.4 -- I suppose
> it's gone in 10.5, eh? Joy -- I'll see if I can find an example
> or replacing it, but if the maintainer already knows how...
>
> joe
>
>
> On Dec 8, 2008, at 6:19 PM, joseph davison wrote:
>
>> Just installed macports on a new leopard installation on my macbook
>> pro.
>>
>> Tried to install manopen and it blows up with:
>> ManDocument.m: In function '-[ManDocument
>> windowControllerDidLoadNib:]':
>> ManDocument.m:328: error: 'NSSimpleHorizontalTypesetter' undeclared
>> (first use in this function)
>> ManDocument.m:328: error: (Each undeclared identifier is reported
>> only once
>> ManDocument.m:328: error: for each function it appears in.)
>>
>> and then some warnings.
>>
>> Presuming it useful, here's the whole output from port -v install
>> macports
>>
>> ---> Fetching ManOpen
>> ---> Verifying checksum(s) for ManOpen
>> ---> Checksumming ManOpen-2.5.1.s.tar.gz
>> ---> Extracting ManOpen
>> ---> Extracting ManOpen-2.5.1.s.tar.gz
>> ---> Configuring ManOpen
>> ---> Building ManOpen with target all
>> == Making all for i386 in ManOpen openman.tproj ==
>> == Making ManOpen for i386 ==
>> Pre-build setup...
>> /bin/rm -f /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/derived_src/TrustedPrecomps.txt
>> ......in cat2html
>> ......in cat2rtf
>> Building...
>> ......in cat2html
>> /usr/bin/cc -arch i386 -Os -Wmost -g -fno-common -I/opt/local/
>> var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/ProjectHeaders -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/PrivateHeaders/ -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/Headers/ -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/derived_src/ManOpen/cat2html.tproj -I. -pipe -
>> I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/Headers -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/PrivateHeaders -F/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/
>> ManOpen-2.5.1 -c -o /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/objects-optimized/ManOpen/cat2html.tproj/
>> cat2html.i386.o cat2html.c
>> cat2html.l: In function 'cat2htmllex':
>> cat2html.l:304: warning: pointer targets in passing argument 1 of
>> 'decodeUTF8' differ in signedness
>> cat2html.l:311: warning: pointer targets in passing argument 1 of
>> 'decodeUTF8' differ in signedness
>> /usr/bin/cc -o /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.app/Resources/cat2html -L/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/objects-optimized/ManOpen/cat2html.tproj -F/
>> opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1 -L/opt/
>> local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1 -
>> arch i386 /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/objects-optimized/ManOpen/cat2html.tproj/
>> cat2html.o -framework Foundation
>> ......in cat2rtf
>> /usr/bin/cc -arch i386 -Os -Wmost -g -fno-common -I/opt/local/
>> var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/ProjectHeaders -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/PrivateHeaders/ -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/Headers/ -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/derived_src/ManOpen/cat2rtf.tproj -I. -pipe -I/
>> opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/Headers -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/PrivateHeaders -F/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/
>> ManOpen-2.5.1 -c -o /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/objects-optimized/ManOpen/cat2rtf.tproj/
>> cat2rtf.i386.o cat2rtf.c
>> cat2rtf.l: In function 'cat2rtflex':
>> cat2rtf.l:344: warning: pointer targets in passing argument 1 of
>> 'decodeUTF8' differ in signedness
>> cat2rtf.l:351: warning: pointer targets in passing argument 1 of
>> 'decodeUTF8' differ in signedness
>> /usr/bin/cc -o /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.app/Resources/cat2rtf -L/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/objects-optimized/ManOpen/cat2rtf.tproj -F/opt/
>> local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1 -L/opt/
>> local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1 -
>> arch i386 /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/objects-optimized/ManOpen/cat2rtf.tproj/cat2rtf.o
>> /usr/lib/mergeInfo PB.project CustomInfo.plist /opt/local/var/
>> macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/derived_src/ManOpen/Java.plist -o /opt/local/var/
>> macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.app/Resources/Info-macos.plist
>> -n
>> Copying English resources...
>> Copied ManOpen.nib PrefPanel.nib DocController.nib ManOpen-
>> macintosh.nib Apropos.nib ManOpen-macos.nib ManPage.nib
>> FindPanel.nib Credits.rtf InfoPlist.strings
>> Copied LinkCursor.tiff ManOpen-nextstep.tiff ManOpen.tiff
>> ManOpen.icns ManOpen.scriptSuite ManOpen.scriptTerminology
>> /usr/bin/cc -arch i386 -Os -Wmost -g -fno-common -I/opt/local/
>> var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/ProjectHeaders -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.app/PrivateHeaders -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/Headers -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/derived_src/ManOpen -I. -pipe -I/opt/local/var/
>> macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/Headers -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/PrivateHeaders -F/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1 -
>> ObjC -c -o /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/objects-optimized/ManOpen/AproposDocument.i386.o
>> AproposDocument.m
>> /usr/bin/cc -arch i386 -Os -Wmost -g -fno-common -I/opt/local/
>> var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/ProjectHeaders -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.app/PrivateHeaders -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/Headers -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/derived_src/ManOpen -I. -pipe -I/opt/local/var/
>> macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/Headers -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/PrivateHeaders -F/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1 -
>> ObjC -c -o /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/objects-optimized/ManOpen/FindPanelController.i386.o
>> FindPanelController.m
>> /usr/bin/cc -arch i386 -Os -Wmost -g -fno-common -I/opt/local/
>> var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/ProjectHeaders -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.app/PrivateHeaders -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/Headers -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/derived_src/ManOpen -I. -pipe -I/opt/local/var/
>> macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/Headers -I/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/PrivateHeaders -F/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1 -
>> ObjC -c -o /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/objects-optimized/ManOpen/ManDocument.i386.o
>> ManDocument.m
>> ManDocument.m: In function '-[ManDocument
>> windowControllerDidLoadNib:]':
>> ManDocument.m:328: error: 'NSSimpleHorizontalTypesetter' undeclared
>> (first use in this function)
>> ManDocument.m:328: error: (Each undeclared identifier is reported
>> only once
>> ManDocument.m:328: error: for each function it appears in.)
>> ManDocument.m: In function '-[ManTextView drawPageBorderWithSize:]':
>> ManDocument.m:634: warning: 'widthOfString:' is deprecated
>> (declared at /System/Library/Frameworks/AppKit.framework/Headers/
>> NSFont.h:216)
>> ManDocument.m:644: warning: 'cString' is deprecated (declared at /
>> System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
>> 345)
>> ManDocument.m:645: warning: 'cString' is deprecated (declared at /
>> System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
>> 345)
>> ManDocument.m:645: warning: 'cStringLength' is deprecated (declared
>> at /System/Library/Frameworks/Foundation.framework/Headers/
>> NSString.h:347)
>> make[1]: *** [/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_aqua_ManOpen/work/ManOpen-2.5.1/
>> ManOpen.build/objects-optimized/ManOpen/ManDocument.i386.o] Error 1
>> make: *** [all at ManOpen] Error 2
>> Warning: the following items did not execute (for ManOpen):
>> org.macports.activate org.macports.build org.macports.destroot
>> org.macports.install
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
More information about the macports-users
mailing list