Opened 20 years ago
Closed 19 years ago
#2698 closed defect (invalid)
base will not build on mac os x 10.3.8
Reported by: | darwinports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.0 |
Keywords: | Cc: | darwinports@… | |
Port: |
Description
[ibook:/usr/darwinports/base] wynkoop# uname -a Darwin ibook.wynn.com 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power Macintosh powerpc [ibook:/usr/darwinports/base] wynkoop# pwd /usr/darwinports/base [ibook:/usr/darwinports/base] wynkoop# ./configure --with-tclpackagedir=/usr
Verbose output from configure with no errors not included to shorten report
[ibook:/usr/darwinports/base] wynkoop# make clean;make
Much stuff with normal exits and completed compiles not included for brevity ===> making all in doc ===> making all in src ===> making all in src/darwinports1.0 ===> making all in src/port1.0 ===> making all in src/port1.0/resources ===> making all in src/port1.0/resources/package ===> making all in src/port1.0/resources/fetch ===> making all in src/port1.0/resources/group ===> making all in src/package1.0 ===> making all in src/pextlib1.0 gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -DHAVE_CONFIG_H -I.. -I. -I"/u sr/include" -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALL OC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_R EADDIR_R=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAV E_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -D HAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS _TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCAL TIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_C HAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ SYS_FILIO_H=1 -fno-common sha1cmd.c -o sha1cmd.o 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 /usr/darwinports/base/src/pextlib1.0. * Error code 1
Stop in /usr/darwinports/base/src. * Error code 1
Stop in /usr/darwinports/base. [ibook:/usr/darwinports/base] wynkoop#
Please note that I did a cvs update just before trying to build base!
Change History (5)
comment:1 Changed 20 years ago by pguyot (Paul Guyot)
comment:2 Changed 20 years ago by darwinports@…
(In reply to comment #1)
Your system seems to be damaged. The SHA_DIGEST_LENGTH constant is defined in /usr/include/openssl/sha.h.
If you have this file, what do you have in config.h?
Greeting-
I doubt that the system is damaged. It is a fresh install, fresh
uprgrade to 10.3.8 using the apple supplied software update tool, and a fresh install of the apple supplied developer tools CD, and a fresh install of darwinports. It looks to me like the include file is never getting called as I hacked the code to force the include to be called and got other errors when I did that. I suspect something is wrong in the land of ifdef in sha1cmd.c. What exactly do you want me to look for in config.h? Should I just send the whole thing? It was generated by configure as stated in the original report.
BTW I have built other stuff that used openssl on this system and it
worked just fine.
-Brett
/* src/config.h. Generated by configure. */ /* src/config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if the closedir' function returns void instead of
int'. */
/* #undef CLOSEDIR_VOID */
/* Define to 1 if you have the `bzero' function. */ #define HAVE_BZERO 1
/* Define to 1 if you have the <crt_externs.h> header file. */ #define HAVE_CRT_EXTERNS_H 1
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
don't. */
#define HAVE_DECL_STRERROR_R 1
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#define HAVE_DIRENT_H 1
/* Define to 1 if you have the `dup2' function. */ #define HAVE_DUP2 1
/* Define to 1 if you have the <err.h> header file. */ #define HAVE_ERR_H 1
/* Define to 1 if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1
/* Define to 1 if you have the `fgetln' function. */ #define HAVE_FGETLN 1
/* Define to 1 if you have the `flock' function. */ #define HAVE_FLOCK 1
/* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1
/* Define to 1 if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1
/* Define if you have the `crypto' library (-lcrypto). */ /* #undef HAVE_LIBCRYPTO */
/* Define to 1 if you have the <libgen.h> header file. */ #define HAVE_LIBGEN_H 1
/* Define if you have the `md' library (-lmd). */ #define HAVE_LIBMD
/* Define to 1 if you have the <limits.h> header file. */ #define HAVE_LIMITS_H 1
/* Define to 1 if you have the `lockf' function. */ #define HAVE_LOCKF 1
/* Define to 1 if you have the <md5.h> header file. */ #define HAVE_MD5_H 1
/* Define to 1 if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1
/* Define to 1 if you have the `memset' function. */ #define HAVE_MEMSET 1
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */
/* Define to 1 if you have the <openssl/md5.h> header file. */ /* #undef HAVE_OPENSSL_MD5_H */
/* Define to 1 if you have the <paths.h> header file. */ #define HAVE_PATHS_H 1
/* Define to 1 if you have the `regcomp' function. */ #define HAVE_REGCOMP 1
/* Define to 1 if you have the `setmode' function. */ #define HAVE_SETMODE 1
/* Define to 1 if you have the <stdint.h> header file. */ #define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strcasecmp' function. */ #define HAVE_STRCASECMP 1
/* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1
/* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1
/* Define to 1 if you have the <strings.h> header file. */ #define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */ #define HAVE_STRING_H 1
/* Define to 1 if you have the `strncasecmp' function. */ #define HAVE_STRNCASECMP 1
/* Define to 1 if you have the `strtol' function. */ #define HAVE_STRTOL 1
/* Define to 1 if you have the <sys/cdefs.h> header file. */ #define HAVE_SYS_CDEFS_H 1
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/fcntl.h> header file. */ #define HAVE_SYS_FCNTL_H 1
/* Define to 1 if you have the <sys/file.h> header file. */ #define HAVE_SYS_FILE_H 1
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/stat.h> header file. */ #define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1
/* Define to 1 if you have the <unistd.h> header file. */ #define HAVE_UNISTD_H 1
/* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1
/* Define to 1 if you have the <vfork.h> header file. */ /* #undef HAVE_VFORK_H */
/* Define to 1 if `fork' works. */ #define HAVE_WORKING_FORK 1
/* Define to 1 if `vfork' works. */ #define HAVE_WORKING_VFORK 1
/* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "darwinports@…"
/* Define to the full name of this package. */ #define PACKAGE_NAME "OpenDarwin DarwinPorts"
/* Define to the full name and version of this package. */ #define PACKAGE_STRING "OpenDarwin DarwinPorts 1.0"
/* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "darwinports"
/* Define to the version of this package. */ #define PACKAGE_VERSION "1.0"
/* Define to 1 if static build is requested */ /* #undef STATIC_BUILD */
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ /* #undef STAT_MACROS_BROKEN */ /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1
/* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */
/* Attribute to mark unused variables */ #define UNUSED attribute((unused))
/* Define to 1 if the X Window System is missing or not being used. */ /* #undef X_DISPLAY_MISSING */
/* Define to `int' if <sys/types.h> does not define. */ /* #undef pid_t */
/* Define as fork' if
vfork' does not work. */
/* #undef vfork */
If config.h has errors in it then the configure script is somehow broken in cvs current.
-Brett
-- DRM is theft! We are the stakeholders! http://www.nyfairuse.org/
comment:3 Changed 20 years ago by pguyot (Paul Guyot)
Good. We're narrowing the problem down. On my system, there is no libmd.*, so the code uses openssl's sha.h (openssl/sha.h) that defines the constant.
On your fresh and clean system:
- Where is libmd.*?
- Where is sha.h? (not /usr/include/openssl/sha.h)
- What is in sha.h?
comment:4 Changed 20 years ago by toby@…
severity: | blocker → normal |
---|
No response from submitter for 2+ weeks....
comment:5 Changed 19 years ago by olegb@…
Resolution: | → invalid |
---|---|
Status: | new → closed |
closing bug - ENORESPONT.
Your system seems to be damaged. The SHA_DIGEST_LENGTH constant is defined in /usr/include/openssl/sha.h.
If you have this file, what do you have in config.h?