logo       

Re: (fwd) build problem on MacOS X 10.2.8: msg#00101

Subject: Re: (fwd) build problem on MacOS X 10.2.8

On Jan 19, 2004, at 6:53 AM, Steve Lidie wrote:

-- forwarded message --
Path: Lehigh.EDU!newsread.com!newsstand.newsread.com!news.maxwell.syr.edu! newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!attbi_feed4! attbi.com!attbi_s54.POSTED!not-for-mail
From: "George B. Smith" <gbjsmith@xxxxxxx>
Newsgroups: comp.lang.perl.tk
Subject: build problem on MacOS X 10.2.8
User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X)
Message-ID: <gbjsmith-566266.18195718012004@xxxxxxxxxxxxxxxxxxx>
Lines: 117
NNTP-Posting-Host: 24.7.116.108
X-Complaints-To: abuse@xxxxxxxxxxx
X-Trace: attbi_s54 1074478832 24.7.116.108 (Mon, 19 Jan 2004 02:20:32 GMT)
NNTP-Posting-Date: Mon, 19 Jan 2004 02:20:32 GMT
Organization: Comcast Online
Date: Mon, 19 Jan 2004 02:20:32 GMT
Xref: Lehigh.EDU comp.lang.perl.tk:39352

I am getting an error when I try to build the lastest Tk...

Running MacOS X 10.2.8 with Jaguar Developer tools and the Dec 2002
Developer tool patch, so gcc reports:

$ gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1435)

I just downloaded Perl 5.8.3 yesterday and it built fine and
pass all but two tests that were expected to fail on Jaguar and I
installed it in /usr/local.

I have /usr/local/bin first in my PATH so perl reports:

$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
  Platform:
    osname=darwin, osvers=6.8, archname=darwin
uname='darwin k9gemini.local. 6.8 darwin kernel version 6.8: wed sep
10 15:20:55 pdt 2003; root:xnuxnu-344.49.obj~2release_ppc power
macintosh powerpc '
    config_args='-de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include',
    optimize='-Os',
    cppflags='-no-cpp-precomp -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build
1435)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -flat_namespace -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-lm -lc
    perllibs=-lm -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false,
libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -flat_namespace -bundle -undefined
suppress -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under darwin
  Compiled at Jan 17 2004 09:20:26
  @INC:
    /usr/local/lib/perl5/5.8.3/darwin
    /usr/local/lib/perl5/5.8.3
    /usr/local/lib/perl5/site_perl/5.8.3/darwin
    /usr/local/lib/perl5/site_perl/5.8.3
    /usr/local/lib/perl5/site_perl


Today I downloaded Tk-804.025_beta14.tar.gz and did:

$ perl Makefile.PL
$ make

and it comes up with this error:

AutoSplitting ../../blib/lib/Tk/X.pm (../../blib/lib/auto/Tk/X)
/usr/local/bin/perl /usr/local/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.3/ExtUtils/typemap -typemap
/Users/gbs/Developer/perl/Tk-804.025_beta14/Tk/typemap  X.xs > X.xsc &&
mv X.xsc X.c
cc -c  -I../.. -I/usr/X11R6/include -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os
-DVERSION=\"804.025\" -DXS_VERSION=\"804.025\"
"-I/usr/local/lib/perl5/5.8.3/darwin/CORE"   -Wall -Wno-implicit-int
-Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ X.c
Running Mkbootstrap for Tk::X ()
chmod 644 X.bs
rm -f ../../blib/arch/auto/Tk/X/X.bundle
LD_RUN_PATH="" cc  -bundle  -L/usr/local/lib
-L/usr/local/lib/perl5/5.8.3/darwin/CORE -lperl  X.o  -o
../../blib/arch/auto/Tk/X/X.bundle   -lm
ld: Undefined symbols:
_PL_curpad
_PL_markstack_ptr
_PL_op
_PL_stack_base
_PL_stack_sp
_PL_sv_yes
_Perl_croak
_Perl_form
_Perl_get_sv
_Perl_mg_set
_Perl_newXS
_Perl_sv_2iv
_Perl_sv_2pv_flags
_Perl_sv_2pv_nolen
_Perl_sv_newmortal
_Perl_sv_setnv
_Perl_sv_setpv
make[2]: *** [../../blib/arch/auto/Tk/X/X.bundle] Error 1
make[1]: *** [subdirs] Error 2
make: *** [subdirs] Error 2

Any tips for getting Tk built on MacOS X appreciated.


Perhaps this will help:

http://www.lehigh.edu/~sol0/Macintosh/X/ptk/

-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to majordomo@xxxxxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe