[build failed] LDAP C SDK with pymake on windows

RESOLVED FIXED

Status

Directory
LDAP C SDK
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: hATrayflood, Assigned: hATrayflood)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

7 years ago
I tried to build comm-central with pymake on windows.
but I failed to build. follow is build log.


make.py[3]: Entering directory 'f:\mozilla\comm-central\obj-i686-pc-mingw32\mozilla'
tier_platform: ./../ldap/sdks/c-sdk xpcom modules/zlib modules/libreg modules/libpref intl netwerk  extensions/auth jpeg modules/libbz2 modules/libmar other-licenses/bsdiff gfx/qcms ipc js/ipc js/jetpack js/src/xpconnect intl/chardet  modules/libjar storage  extensions/cookie extensions/permissions  rdf js/jsd media/libvorbis  media/libnestegg media/libvpx media/libogg media/libtheora  media/libsydneyaudio  modules/libimg/png uriloader caps parser gfx modules/libpr0n dom view widget content editor layout docshell embedding xpfe/appshell  extensions/universalchardet accessible profile xpfe/components extensions/spellcheck toolkit security/manager extensions/pref services/crypto/component startupcache js/ductwork ./../mozilla/xpfe/components/autocomplete ./../ldap/xpcom ./../db/mork ./../mailnews/base ./../mailnews/mime/public ./../mailnews  toolkit/library xpcom/stub
make.py[4]: Entering directory 'f:\mozilla\comm-central\obj-i686-pc-mingw32\mozilla\./../ldap/sdks/c-sdk'
No target specified and no default target found.
f:\mozilla\comm-central\mozilla\config\rules.mk:734:0: command 'f:/mozilla-build/python/python.exe f:/mozilla/comm-central/mozilla/build/pymake/pymake/../make.py -C ./../ldap/sdks/c-sdk ' failed, return code 2
f:\mozilla\comm-central\mozilla\config\rules.mk:701:0: command 'f:/mozilla-build/python/python.exe f:/mozilla/comm-central/mozilla/build/pymake/pymake/../make.py  tier_platform' failed, return code 2
f:\mozilla\comm-central\obj-i686-pc-mingw32\Makefile:84:0: command 'f:/mozilla-build/python/python.exe f:/mozilla/comm-central/mozilla/build/pymake/pymake/../make.py -C mozilla default' failed, return code 2
f:\mozilla\comm-central\client.mk:366:0: command 'f:/mozilla-build/python/python.exe f:/mozilla/comm-central/mozilla/build/pymake/pymake/../make.py  -C obj-i686-pc-mingw32' failed, return code 2
(Assignee)

Comment 1

7 years ago
I found errors in running c-sdk/configure.


configuring in ldap/sdks/c-sdk
running /bin/sh f:/mozilla/comm-central/ldap/sdks/c-sdk/configure  --enable-application=suite --disable-debug --disable-tests --disable-mochitest --disable-debug-symbols --enable-optimize --enable-jemalloc --prefix=f:/mozilla/comm-central/obj-i686-pc-mingw32/mozilla/dist --with-dist-prefix=f:/mozilla/comm-central/obj-i686-pc-mingw32/mozilla/dist --without-nss --with-mozilla --cache-file=../../.././config.cache --srcdir=f:/mozilla/comm-central/ldap/sdks/c-sdk
loading cache ../../.././config.cache
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking build system type... i686-pc-mingw32
checking for cl... (cached) cl
checking for --with-svrcore... no
checking for --with-nss... no
checking for --with-nss-inc... no
checking for --with-nss-lib... no
checking for --with-nspr... no
checking for --with-nspr-inc... no
checking for --with-nspr-lib... no
checking for lib... 1
checking for --with-sasl... no
checking for --with-sasl-inc... no
checking for --with-sasl-lib... no
checking for getaddrinfo... no
checking for getaddrinfo in -lsocket... no
checking for sasl_client_init in -lsasl2... no
checking for sasl_client_init in -lsasl... no
updating cache ../../.././config.cache
creating ./config.status
creating Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/Makefile.in: No such file or directory
creating config/Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/config/Makefile.in: No such file or directory
creating config/autoconf.mk
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/config/autoconf.mk.in: No such file or directory
creating ldap/Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/ldap/Makefile.in: No such file or directory
creating ldap/clients/tools/Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/ldap/clients/tools/Makefile.in: No such file or directory
creating ldap/include/Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/ldap/include/Makefile.in: No such file or directory
creating ldap/libraries/Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/ldap/libraries/Makefile.in: No such file or directory
creating ldap/libraries/libldap/Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/ldap/libraries/libldap/Makefile.in: No such file or directory
creating ldap/libraries/libprldap/Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/ldap/libraries/libprldap/Makefile.in: No such file or directory
creating ldap/libraries/libldif/Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/ldap/libraries/libldif/Makefile.in: No such file or directory
creating ldap/libraries/liblber/Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/ldap/libraries/liblber/Makefile.in: No such file or directory
creating ldap/libraries/libiutil/Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/ldap/libraries/libiutil/Makefile.in: No such file or directory
creating ldap/libraries/libssldap/Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/ldap/libraries/libssldap/Makefile.in: No such file or directory
creating ldap/libraries/libutil/Makefile
sed: can't read f: No such file or directory
sed: can't read f:/mozilla/comm-central/ldap/sdks/c-sdk//mozilla/comm-central/ldap/sdks/c-sdk/ldap/libraries/libutil/Makefile.in: No such file or directory
(Assignee)

Comment 2

7 years ago
These errors are caused by unresolve of path style.
aclocal.m4 needs including of acwinpaths.m4.
(Assignee)

Comment 3

7 years ago
Created attachment 565788 [details] [diff] [review]
patch v1 add and include acwinpaths.m4

configure is generated by MozillaBuild autoconf-2.13.
Attachment #565788 - Flags: review?
(Assignee)

Updated

7 years ago
Attachment #565788 - Flags: review? → review?(richm)

Updated

7 years ago
Attachment #565788 - Flags: review?(richm) → review+
(Assignee)

Updated

7 years ago
Keywords: checkin-needed
http://hg.mozilla.org/projects/ldap-sdks/rev/2da94bd1028c
Assignee: nobody → h.rayflood
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.