Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Have anyone seen this error?

0 views
Skip to first unread message

Bo Yang

unread,
Feb 7, 2007, 4:49:05 AM2/7/07
to
I have posted a message to this group, and got some
useful advices. But, no matter what I do with it, I
can't solve the problem.

I have search this error with Google, only found there
was no one else got the same error as mine.

The error is very simple:

make[5]: *** No rule to make target `xpcomglue.lib', needed by `libs'.
Stop.

Additionally, I have also tried the benjamin Windows build evironment
without any difference.

Help me, please!

nrth...@gmail.com

unread,
Feb 7, 2007, 6:02:47 AM2/7/07
to

Without having to dig through previous threads, it would be great if
you could give the following information:

* What app are you trying to compile ?

* What version of code are you using ?
** If it's a release tarball, from which url ?
** If it's from CVS, then which branch ? Eg Trunk (for Firefox 3),
Mozilla1.8 (for Firefox 2.0.0.x), Mozilla1.8.0 (for Firefox 1.5.0.y)

* Which compiler are you using ?

* What is your mozconfig ?

* Please post the last 10 lines of build output rather than just the
last one

Bo Yang

unread,
Feb 7, 2007, 8:46:54 AM2/7/07
to
nrth...@gmail.com :
I am sorry, I am too hurry to forget these. I paste what you ask in
following:

I want to compile xulrunner, and I get the source by cvs commands:
cvs -f client.mk -r MOZILLA_1_8_0_BRANCH checkout MOZ_CO_PROJECT=xulrunner

I use MSVC6 for my compiler.
My mozconfig is as following:

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@

mk_add_options MOZ_CO_PROJECT=xulrunner
ac_add_options --enable-application=xulrunner


I also try to MSCV6 to compiler the version 1.8, but the same error
stop me too.

The error as below:

make[5]: Entering directory
`/cygdrive/d/packages/mozilla/m/mozilla/obj-i686-pc-
cygwin/xpcom/string/public'
make[5]: Leaving directory
`/cygdrive/d/packages/mozilla/m/mozilla/obj-i686-pc-c
ygwin/xpcom/string/public'
make[5]: Entering directory
`/cygdrive/d/packages/mozilla/m/mozilla/obj-i686-pc-
cygwin/xpcom/string/src'
/cygdrive/d/packages/mozilla/m/mozilla/build/cygwin-wrapper
/cygdrive/d/packages
/mozilla/moztools/bin/nsinstall -m 644 string_s.lib ../../../dist/lib
make[5]: Leaving directory
`/cygdrive/d/packages/mozilla/m/mozilla/obj-i686-pc-c
ygwin/xpcom/string/src'
make[4]: Leaving directory
`/cygdrive/d/packages/mozilla/m/mozilla/obj-i686-pc-c
ygwin/xpcom/string'
make[4]: Entering directory
`/cygdrive/d/packages/mozilla/m/mozilla/obj-i686-pc-
cygwin/xpcom/glue'
/cygdrive/d/packages/mozilla/m/mozilla/build/cygwin-wrapper
/cygdrive/d/packages
/mozilla/moztools/bin/nsinstall -m 644 xpcomglue_s.lib ../../dist/lib
make[5]: Entering directory
`/cygdrive/d/packages/mozilla/m/mozilla/obj-i686-pc-
cygwin/xpcom/glue/standalone'/cygdrive/d/packages/mozilla/m/mozilla/build/cygwin-wrapper
/cygdrive/d/packages/mozilla/moztools/bin/nsinstall -m 644
xpcomglue_s.lib ../../../dist/lib


make[5]: *** No rule to make target `xpcomglue.lib', needed by `libs'.

Stop. ++++++++++++++++++++++++++++++++++++++++++++++ERROR HERE
make[5]: Leaving directory
`/cygdrive/d/packages/mozilla/m/mozilla/obj-i686-pc-cygwin/xpcom/glue/standalone'
make[4]: *** [libs] Error 2
make[4]: Leaving
directory`/cygdrive/d/packages/mozilla/m/mozilla/obj-i686-pc-cygwin/xpcom/glue


And if I miss something important, please point it out, I will post
anything you need, help please, I think I will be mad if I can't
get it work through as soon as possible!
Thanks in advance!

nrth...@gmail.com

unread,
Feb 7, 2007, 10:06:34 AM2/7/07
to
On Feb 7, 1:46 pm, Bo Yang <techr...@eyou.com> wrote:
> And if I miss something important, please point it out, I will post
> anything you need, help please, I think I will be mad if I can't
> get it work through as soon as possible!
> Thanks in advance!

That's much more useful, thanks. Given that you've tried many
combinations of compiler, branch etc, have you started with a clean
slate? I mean removing the objdir, and if that doesn't work then also
removing the source code and pulling a fresh copy.

Bo Yang

unread,
Feb 7, 2007, 9:03:05 PM2/7/07
to nrth...@gmail.com
nrth...@gmail.com :
Following your advice, I redo everything from scratch, but I got the
same error finally. I tyied to build xulrunner with both my own builded
cygwin building env and the downloaded bajamin windows building env.
But the results are the same. I describe what I did in below, please
help me.

---------------------------------------------------------------------
Build with my own builded cygwin env
---------------------------------------------------------------------
The bootstroop script of mine:

#####################Begin code#######################################
rem --- Set HOME so that cvs and ssh work correctly
rem --- cvs uses HOME to locate your .cvspass file, and ssh to locate
your .ssh file
rem --- if you are using ssh, your HOME should match the home directory
specified in /etc/passwd. See http://www.cygwin.com/faq/faq0.html.
set HOME=d:\pakcages\mozilla\mozilla

rem --- Set VCVARS to wherever the MSVC vcvars.bat file is found
set VCVARS=D:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32.bat

rem --- Set MSSDK to wherever the MS SDK is installed
rem --- Only required for MSVC7 or the Free MSVC editions that don't
come with an SDK
rem --- set MSSDK=C:\Program Files\Microsoft Platform SDK

rem --- Set MOZ_TOOLS to wherever you have the moztools packaged installed
set MOZ_TOOLS=d:\packages\mozilla\moztools

rem --- Set CYGWINBASE to wherever cygwin is installed
rem --- Do not use CYGWIN or else cygserver, cygrunsrv, and Cygwin
services will not function properly
rem --- Variable CYGWIN is also used to modify Cygwin's behaviour a
little bit.
set CYGWINBASE=D:\DEVTOOLS\cygwin
rem --- Make sure Cygwin does not print out a DOS style path warning
set CYGWIN=nodosfilewarning

rem --- Prepend Cygwin path
rem --- This is necessary so that cygwin find is ahead of windows
find.exe in the PATH, but cgywin link is after MSVC link.exe.
set PATH=%CYGWINBASE%\bin;%PATH%

rem --- Set MSVC environment vars
call "%VCVARS%"

rem --- Prepend SDK paths
rem --- Only required for MSVC7 or the Free MSVC editions that don't
come with an SDK
rem --- set PATH=%MSSDK%\bin;%PATH%
rem --- set INCLUDE=%MSSDK%\include;%MSSDK%\include\atl;%INCLUDE%
rem --- set LIB=%MSSDK%\lib;%LIB%

rem --- moztools comes last
set PATH=%PATH%;%MOZ_TOOLS%\bin

rem --- Now the PATH variable contains:
rem MS-SDK; MSVC; Cygwin; Windows; glib/libIDL; Moztools

rem --- Typically the last thing the script does is launch a cygwin shell
rem --- watch for your ~/.profile and /etc/profile which may overwrite
your carefully setup PATH!
bash --login -i

####################End of code#######################################

I run the above file to go into the cygwin shell. And then I run the
following commands:

###########################Begin of commands############################
cvs -d :pserver:anon...@cvs-mirror.mozilla.org:/cvsroot co -r
MOZILLA_1_8_BRANCH mozilla/client.mk
cd mozilla
make -f client.mk
############################End of commands#############################

And this is my .mozconfig file:

#######################Begin file#######################################
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@

mk_add_options MOZ_CO_PROJECT=xulrunner
ac_add_options --enable-application=xulrunner
ac_add_options --disable-installer
#########################End of file####################################

And then I got the error:

########################Begin Error#####################################
rm -f xpcomglue_s.lib
lib -NOLOGO -OUT:"xpcomglue_s.lib" pldhash.obj nsCOMPtr.obj
nsComponentManagerUtils.obj nsDebug.obj nsID.obj
nsIInterfaceRequestorUtils.obj nsINIParser.obj nsMemory.obj
nsTraceRefcnt.obj nsWeakReference.obj nsGREGlue.obj
nsVersionComparator.obj nsTHashtable.obj nsTArray.obj nsXPCOMGlue.obj
nsGREDirServiceProvider.obj nsGlueLinkingWin.obj
echo not_ranlib xpcomglue_s.lib
not_ranlib xpcomglue_s.lib
/cygdrive/d/packages/mozilla/build/mozilla/build/cygwin-wrapper


/cygdrive/d/packages/mozilla/moztools/bin/nsinstall -m 644
xpcomglue_s.lib ../../../dist/lib
make[5]: *** No rule to make target `xpcomglue.lib', needed by `libs'.
Stop.

make[5]: Leaving directory
`/cygdrive/d/packages/mozilla/build/mozilla/obj-i686-pc-cygwin/xpcom/glue/standalone'


make[4]: *** [libs] Error 2
make[4]: Leaving

directory`/cygdrive/d/packages/mozilla/build/mozilla/obj-i686-pc-cygwin/xpcom/glue'
make[3]: *** [libs] Error 2
make[3]: Leaving
directory`/cygdrive/d/packages/mozilla/build/mozilla/obj-i686-pc-cygwin/xpcom'

########################End of Error###################################

-----------------------------------------------------------------------
Build with the downloaded benjamin windows building env
-----------------------------------------------------------------------
I download the files from the benjamin blog, and unpack it, then run
start-mscv6.bat. And the following steps are the same with the steps
what I did with cygwin build and so are the errors.

Help please!
Thank you!

Bo Yang

unread,
Feb 7, 2007, 9:26:31 PM2/7/07
to nrth...@gmail.com
nrth...@gmail.com :
I also download the xulrunner-1.8.0.4 from the mozilla ftp site.
Compiled it with benjamin windows build env, and the same error
occured again.
So confused about how mozilla xulrunner can be builded successfully!

nrth...@gmail.com

unread,
Feb 8, 2007, 4:48:08 AM2/8/07
to
On Feb 8, 2:03 am, Bo Yang <techr...@eyou.com> wrote:
> #####################Begin code#######################################
> rem --- Set HOME so that cvs and ssh work correctly
> rem --- cvs uses HOME to locate your .cvspass file, and ssh to locate
> your .ssh file
> rem --- if you are using ssh, your HOME should match the home directory
> specified in /etc/passwd. Seehttp://www.cygwin.com/faq/faq0.html.

> set HOME=d:\pakcages\mozilla\mozilla

The only problem I can see with this script is the mis-spelling of
packages in the definition of HOME.

I don't have any ideas for the build error. XULRunner should still be
buildable from the 1.8 branch, tinderbox is doing that continually for
Linux at least (argo at http://tinderbox.mozilla.org/Mozilla1.8/).
I'll try a build with VC6 and my cygwin setup.

Bo Yang

unread,
Feb 8, 2007, 9:17:00 AM2/8/07
to
nrth...@gmail.com :
Oh, if you get passed with it, please tell me how do you achive it.
Thank you, wait for your good news!
0 new messages