Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13836 closed defect (worksforme)

db-4.4.20 fails to install

Reported by: grahamperrin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: grahamperrin
Port:

Description

  1. Remove MacPorts.
  2. Install MacPorts.
  3. sudo port install subversion
  4. db44 fails to install.

Full details of failure

Change History (6)

comment:1 Changed 16 years ago by afb@…

Milestone: Port Bugs

Needs more info.

comment:2 Changed 16 years ago by afb@…

Resolution: worksforme
Status: newclosed

Build was broken due to old /usr/local/include/db.h used instead of internal header.

comment:3 Changed 16 years ago by grahamperrin@…

Mac OS X 10.4.11, Intel MacBook Pro.

/usr/local/include/db.h
exists prior to installation

In IRC, afb observes:

a known issue that if you have stuff in /usr/local (or /usr for that matter), it will interfer with other prefixes

having old readline in /usr/local is another favorite pastime

and recommends:

  1. set aside db.h
  2. build db44
  3. restore db.h to its original path

comment:4 Changed 16 years ago by grahamperrin@…

Off-topic from MacPorts, but for my own records: from a time-based directory listing —

[grahamperrin:/usr/local/include] gjp22% ls -lt
total 680
drwxr-xr-x   67 admin  501      2278 Jan  5 20:48 apr-1
drwxr-xr-x   24 root   wheel     816 Jan  5 20:48 neon
drwxr-xr-x   39 root   wheel    1326 Jan  5 20:48 subversion-1
drwxr-xr-x   10 root   wheel     340 Dec 21 08:50 fuse
drwxr-xr-x   35 root   wheel    1190 Dec 17 13:51 ntfs
drwxr-xr-x   34 root   wheel    1156 Dec 17 13:51 ntfs-3g
-rw-r--r--    1 root   wheel     701 Nov  7 01:06 ulockmgr.h
-rw-r--r--    1 root   wheel     246 Nov  7 01:06 fuse.h
drwxr-xr-x   74 root   wheel    2516 Oct  1 14:49 python2.3
drwxr-xr-x    3 root   wheel     102 Sep  4 20:42 lame
-rwxr-xr-x    1 admin  501    101978 Jun 22  2007 db.h
-rwxr-xr-x    1 admin  501     37229 Jun 22  2007 db_cxx.h
drwxr-xr-x    3 root   501       102 Jun  1  2007 pspell
-rwxr-xr-x    1 root   wheel    5249 May 10  2007 cderror.h
-rwxr-xr-x    1 root   wheel    6123 May 10  2007 cdjpeg.h
-rwxr-xr-x    1 root   wheel    1575 May 10  2007 jchuff.h
-rw-r--r--    1 root   wheel    1258 May 10  2007 jconfig.h
-rwxr-xr-x    1 root   wheel    7041 May 10  2007 jdct.h
-rwxr-xr-x    1 root   wheel    8138 May 10  2007 jdhuff.h
-rwxr-xr-x    1 root   wheel   13936 May 10  2007 jerror.h
-rwxr-xr-x    1 root   wheel    3250 May 10  2007 jinclude.h
-rwxr-xr-x    1 root   wheel    8230 May 10  2007 jmemsys.h
-rwxr-xr-x    1 root   wheel   12458 May 10  2007 jmorecfg.h
-rwxr-xr-x    1 root   wheel   15712 May 10  2007 jpegint.h
-rwxr-xr-x    1 root   wheel   46205 May 10  2007 jpeglib.h
-rwxr-xr-x    1 root   wheel     360 May 10  2007 jversion.h
-rwxr-xr-x    1 root   wheel    5761 May 10  2007 transupp.h
drwxr-xr-x   25 root   wheel     850 Jul 31  2006 gutenprint
drwxr-xr-x    2 root   wheel      68 Jul 31  2006 gutenprintui
drwxr-xr-x    2 root   wheel      68 Jul 31  2006 gutenprintui2
-rw-r--r--    1 root   wheel   26240 Apr 13  2006 aspell.h
drwxr-xr-x   10 root   wheel     340 Jan 18  2006 jack

— I can't imagine what June 2007 action led to the presence of
db.h.

comment:5 Changed 16 years ago by afb@…

Counting "strike two" for this problem, next time it happens it gets a pre-build check...

test -r /usr/local/include/db.h && exit 1

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.