Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set up DarwinPorts to coexist with fink' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set up DarwinPorts to coexist with fink
Authored by: lewinb on Nov 15, '04 12:42:57AM

I have followed the instructions explicitly, both those listed here, and those listed on darwinports.opendarwin.org ... I keep getting errors, at every step... HELP!

I am using 10.2.8, tcl8.3, darwin 6.8.0 ... apple's x11 preview for jaguar, which seems to work fine. I do NOT have Fink installed. I have a (somewhat) working dports, so it has worked in the past, but now I can't even do a clean install.

At first, I wanted to simply update dp, but got some seemingly inescapable error after downloading the update files, and was unable to complete the make install. So, I thought I might as well just make a clean install. So I get the files from cvs, and follow the instructions. Then the insanity starts.

Configure errors out, telling me to specify tcl with the command "--with-tclpackagedir" (they forgot to include the "=" sign... it should be --with-tclpackagedir=")

I end up having to read the actual configure file to find out what they mean by this. I finally get the thing to configure without error with the following:

./configure --with-tcl=/usr/local/lib/tcl8.3 --with-tclinclude=/usr/local/include/tcl8.3 --with-tclpackage=/private/var/db/pkg/tcl-8.3.4_4

I had to specify all of these, because as soon as I specified one, it asked for the next.

So, next, make.

This following warning was reported about 50 times throughout make. Here is a sample:

===> making all in doc===> making all in src
===> making all in src/darwinports1.0
gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -O -DHAVE_CONFIG_H -I.. -I. -I"/usr/local/include/tcl8.3" -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 darwinports.c -o darwinports.o
/var/tmp/cc72gNcY.i:1:3: warning: style of line directive is a GCC extension
darwinports.c:2:3: warning: style of line directive is a GCC extension
darwinports.c:33:3: warning: style of line directive is a GCC extension
darwinports.c:36:3: warning: style of line directive is a GCC extension
In file included from /usr/include/machine/types.h:30,
from /usr/include/sys/types.h:72,
from /usr/include/stdio.h:64,
from /usr/local/include/tcl8.3/tcl.h:183,
from darwinports.c:36:
/usr/include/ppc/types.h:2:3: warning: style of line directive is a GCC extension

____________________

make errors out with this at the end:

/usr/local/include/tcl8.3/tclDecls.h:2:3: warning: style of line directive is a GCC extension
/usr/local/include/tcl8.3/tclDecls.h:1768:3: warning: style of line directive is a GCC extension
darwinports.o portconf.o session.o util.o -o Darwinports -L/usr/local/lib -ltclstub8.3 -lmd
darwinports.o:No such file or directory
*** Error code 1

Stop in /Volumes/water/darwinports/base/src/darwinports1.0.
*** Error code 1

Stop in /Volumes/water/darwinports/base/src.
*** Error code 1

Stop in /Volumes/water/darwinports/base.


______________
Can ANYone shed some light on this?

I have found a ton of back-and-forth on opendarwin's mail list archives about tcl being somehow critical to dp, but as far as I can tell, I should be ok, and can't figure out why I am having to specify all of these tcl directories.



[ Reply to This | # ]
Set up DarwinPorts to coexist with fink
Authored by: tonyo on Feb 01, '05 02:54:01PM

Funny, similar problem; sorta off topic for me though, I'm not using Fink at all, I just came on this thread while looking for my own install problem with darwinports. This morning I updated my ports and when I switched to base to update the infrastructure, whammo, make stopped and gave a simlar error.

Tried several times, reboot, repaired permissions, chicken blood on monitor, no go. I'd installed the latest 10.3.7 security patch earlier this week - thining that it had messed somehow with the install, I trashed the old darwinports directory and reinstalled (exactly to the tee using instructions on the website) using latest CVS snapshot.

Bang, make failed again with this error;


sha1cmd.c: In function `SHA1Cmd':
sha1cmd.c:119: error: `SHA_DIGEST_LENGTH' undeclared (first use in this function)
sha1cmd.c:119: error: (Each undeclared identifier is reported only once
sha1cmd.c:119: error: for each function it appears in.)
sha1cmd.c:140: warning: implicit declaration of function `SHA1_File'
sha1cmd.c:119: warning: unused variable `buf'
*** Error code 1

Stop in /Users/tonyo/darwinports/base/src/pextlib1.0.
*** Error code 1

Stop in /Users/tonyo/darwinports/base/src.
*** Error code 1

Stop in /Users/tonyo/darwinports/base.

I'm subscribing now to the darwinports list to ask around about this - anyone else seen it or a fix?

tia

Tony



[ Reply to This | # ]