$ make package
===>  Checking files for mozilla-thunderbird-2.0.0.9
`/home/dongsheng/ports/distfiles/thunderbird-2.0.0.9-source.tar.bz2' is up
to date.
>> (SHA256) thunderbird-2.0.0.9-source.tar.bz2: OK
===>  mozilla-thunderbird-2.0.0.9 depends on: libIDL-* - found
===>  mozilla-thunderbird-2.0.0.9 depends on: zip->=2.3 - found
===>  mozilla-thunderbird-2.0.0.9 depends on: gettext->=0.16.1 - found
===>  mozilla-thunderbird-2.0.0.9 depends on: metaauto-* - found
===>  mozilla-thunderbird-2.0.0.9 depends on: autoconf-2.13 - found
===>  mozilla-thunderbird-2.0.0.9 depends on: gmake-* - found
===>  mozilla-thunderbird-2.0.0.9 depends on: bzip2-* - found
===>  mozilla-thunderbird-2.0.0.9 depends on: gtk+2-* - found
===>  mozilla-thunderbird-2.0.0.9 depends on: nspr->=4.6.4p1 - found
===>  mozilla-thunderbird-2.0.0.9 depends on: nss->=3.11.4p1 - found
===>  mozilla-thunderbird-2.0.0.9 depends on: gettext->=0.10.38 - found
===>  mozilla-thunderbird-2.0.0.9 depends on: libiconv-* - found
===>  Verifying specs: gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 nspr4.>=17
plc4.>=17 plds4.>=17 nss3.>=19 smime3.>=19 softokn3.>=19 ssl3.>=19 intl.>=4
iconv.>=4 gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 nspr4.>=17 plc4.>=17
plds4.>=17 nss3.>=19 smime3.>=19 softokn3.>=19 ssl3.>=19 intl.>=4 iconv.>=4
X11 Xau Xcursor Xdmcp Xext Xfixes Xcomposite Xdamage  Xft Xi Xinerama Xrandr
Xrender Xt atk-1.0 c cairo  expat fontconfig freetype glib-2.0
gthread-2.0glitz
gmodule-2.0 gobject-2.0 jpeg m pango-1.0 pangocairo-1.0  pangoft2-1.0
pangox-1.0 png pthread stdc++ z X11 Xau Xcursor Xdmcp Xext Xfixes Xcomposite
Xdamage  Xft Xi Xinerama Xrandr Xrender Xt atk-1.0 c cairo  expat fontconfig
freetype glib-2.0 gthread-2.0 glitz  gmodule-2.0 gobject-2.0 jpeg m
pango-1.0 pangocairo-1.0  pangoft2-1.0 pangox-1.0 png pthread stdc++ z
===>  found gdk-x11-2.0.1200.3 gdk_pixbuf-2.0.1200.3 gtk-x11-2.0.1200.3
nspr4.19.0 plc4.19.0 plds4.19.0 nss3.20.0 smime3.20.0 softokn3.20.0
ssl3.20.0 intl.4.0 iconv.4.0 X11.11.1 Xau.9.0 Xcursor.4.0 Xdmcp.9.0
Xext.10.0 Xfixes.5.0 Xcomposite.3.0 Xdamage.3.1 Xft.7.0 Xi.10.0 Xinerama.5.0
Xrandr.6.0 Xrender.5.0 Xt.10.0 atk-1.0.2009.1 c.43.0 cairo.7.1 expat.9.0
fontconfig.5.1 freetype.16.0 glib-2.0.1400.2 gthread-2.0.1400.2 glitz.2.0
gmodule-2.0.1400.2 gobject-2.0.1400.2 jpeg.62.0 m.2.3 pango-1.0.1400.0
pangocairo-1.0.1400.0 pangoft2-1.0.1400.0 pangox-1.0.1400.0 png.6.0
pthread.9.0 stdc++.44.0 z.4.1
===>  Extracting for mozilla-thunderbird-2.0.0.9
===>  Patching for mozilla-thunderbird-2.0.0.9
Running autoconf-2.13 in /home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla
===>  Configuring for mozilla-thunderbird-2.0.0.9
loading site script /usr/ports/infrastructure/db/config.site
loading site script /usr/ports/infrastructure/db/config.x11.site
creating cache ./config.cache
checking host system type... i386-unknown-openbsd4.2
checking target system type... i386-unknown-openbsd4.2
checking build system type... i386-unknown-openbsd4.2
checking for mawk... (cached) nawk
checking for nsinstall... no
checking for gcc... cc
checking whether the C compiler (cc -O2 "-pipe" ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
*** Error code 1

Stop in /usr/ports/mail/mozilla-thunderbird (line 2067 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/mail/mozilla-thunderbird (line 1392 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/mail/mozilla-thunderbird (line 1890 of
/usr/ports/infrastructure/mk/bsd.port.mk).


If I set CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib", no 'C
compiler cannot create executables', but failed on:
$ CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" make
...
gmake[3]: Entering directory `/home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/directory/c-sdk/ldap'
cd build; /usr/local/bin/gmake export
gmake[4]: Entering directory `/home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/directory/c-sdk/ldap/build'
cc -o dirver.o -c    -I/usr/local/include -pipe -ansi -Wall -pthread -fPIC
-UDEBUG  -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DOPENBSD=1
-DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1
-D_THREAD_SAFE=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM
dirver.c
dirver.c: In function `_GetVersions':
dirver.c:96: warning: suggest parentheses around assignment used as truth
value
dirver.c:99: warning: suggest parentheses around assignment used as truth
value
dirver.c:102: warning: suggest parentheses around assignment used as truth
value
dirver.c:89: warning: unused variable `nReturn'
dirver.c: In function `_GenBuildDate':
dirver.c:147: warning: suggest parentheses around assignment used as truth
value
dirver.c:150: warning: suggest parentheses around assignment used as truth
value
dirver.c: At top level:
dirver.c:200: warning: return type defaults to `int'
cc -o dirver    -I/usr/local/include -pipe -ansi -Wall -pthread -fPIC
-UDEBUG  -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DOPENBSD=1
-DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1
-D_THREAD_SAFE=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM
./dirver.o
./dirver.o(.text+0xbb): In function `_GetVersions':
: warning: strcpy() is almost always misused, please use strlcpy()
/home/dongsheng/ports/obj/mozilla-thunderbird-2.0.0.9/mozilla/dist/bin/nsinstall
-R -m 555 dirver /home/dongsheng/ports/obj/mozilla-thunderbird-2.0.0.9
/mozilla/dist/bin
gmake[4]: Leaving directory `/home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/directory/c-sdk/ldap/build'
cd include; /usr/local/bin/gmake export
gmake[4]: Entering directory `/home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/directory/c-sdk/ldap/include'
/home/dongsheng/ports/obj/mozilla-thunderbird-2.0.0.9/mozilla/dist/bin/nsinstall
-D /home/dongsheng/ports/obj/mozilla-thunderbird-2.0.0.9
/mozilla/dist/public/ldap
/usr/bin/perl ./../build/replace.pl \
        LDAP_VENDOR_NAME="mozilla.org" \
                LDAP_VENDOR_VERSION="500" \
                < ldap-standard-tmpl.h > /home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/dist/public/ldap/ldap-standard.h
/home/dongsheng/ports/obj/mozilla-thunderbird-2.0.0.9/mozilla/dist/bin/nsinstall
-D /home/dongsheng/ports/obj/mozilla-thunderbird-2.0.0.9
/mozilla/dist/public/ldap-private
/home/dongsheng/ports/obj/mozilla-thunderbird-2.0.0.9/mozilla/dist/bin/nsinstall
-R  -m 644 ./disptmpl.h ./lber.h ./ldap.h ./ldap-extension.h ./ldap-
platform.h ./ldap-to-be-deprecated.h ./ldap-deprecated.h ./ldap_ssl.h
./ldappr.h ./iutil.h ./srchpref.h /home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/dist/public/ldap
/home/dongsheng/ports/obj/mozilla-thunderbird-2.0.0.9/mozilla/dist/bin/nsinstall
-R  -m 644 ./../libraries/libldap/ldap-int.h ./../libraries/liblber/lber-
int.h ./portable.h ./ldaprot.h ./ldaplog.h
/home/dongsheng/ports/obj/mozilla-thunderbird-2.0.0.9
/mozilla/dist/public/ldap-private
gmake[4]: Leaving directory `/home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/directory/c-sdk/ldap/include'
cd libraries; /usr/local/bin/gmake export
gmake[4]: Entering directory `/home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/directory/c-sdk/ldap/libraries'
cd liblber; /usr/local/bin/gmake export
gmake[5]: Entering directory `/home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/directory/c-sdk/ldap/libraries/liblber'
cc -o decode.o -c    -I/usr/local/include -pipe -ansi -Wall -pthread -fPIC
-UDEBUG  -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DOPENBSD=1
-DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1
-D_THREAD_SAFE=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM
-DUSE_WAITPID -DNEEDPROTOS -DLDAP_DEBUG   -DNET_SSL  -DNO_LIBLCACHE
-DLDAP_REFERRALS     -DNS_DOMESTIC  -I../../../ldap/include
-I/home/dongsheng/ports/obj/mozilla-thunderbird-2.0.0.9/mozilla/dist/./include
decode.c
In file included from lber-int.h:67,
                 from decode.c:52:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, use <
stdlib.h>"
In file included from decode.c:52:
lber-int.h:121: error: syntax error before "LDAP_CALLBACK"
lber-int.h:130: error: redefinition of `Seqorset'
/usr/local/include/lber.h:164: error: `Seqorset' previously declared here
lber-int.h:149: error: syntax error before "ldap_x_iovec"
lber-int.h:165: error: syntax error before "BERTranslateProc"
lber-int.h:187: error: syntax error before "LDAP_IOF_READ_CALLBACK"
lber-int.h:198: error: syntax error before "LDAP_X_EXTIOF_READ_CALLBACK"
lber-int.h:207: error: syntax error before "LBER_SOCKET"
lber-int.h:216: error: syntax error before "LBER_SOCKET"
lber-int.h:223: error: field `sb_ext_io_fns' has incomplete type
decode.c:62: error: syntax error before "ber_get_tag"
decode.c:69: error: syntax error before "if"
gmake[5]: *** [decode.o] Error 1
gmake[5]: Leaving directory `/home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/directory/c-sdk/ldap/libraries/liblber'
gmake[4]: *** [export] Error 2
gmake[4]: Leaving directory `/home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/directory/c-sdk/ldap/libraries'
gmake[3]: *** [export] Error 2
gmake[3]: Leaving directory `/home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/directory/c-sdk/ldap'
gmake[2]: *** [export] Error 2
gmake[2]: Leaving directory `/home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla/directory/c-sdk'
gmake[1]: *** [ldap] Error 2
gmake[1]: Leaving directory `/home/dongsheng/ports/obj/mozilla-
thunderbird-2.0.0.9/mozilla'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/mail/mozilla-thunderbird (line 2092 of
/usr/ports/infrastructure/mk/bsd.port.mk).

Thanks for some help.

Dongsheng

Reply via email to