Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2005 17:39:33 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        gnome@freebsd.org
Subject:   strange mozilla build failure
Message-ID:  <20050120173933.6bb3c3cc@Magellan.Leidinger.net>

next in thread | raw e-mail | index | archive | help
Hi,

I get this error:
---snip---
gmake[3]: Entering directory `/big/usr/ports/www/mozilla/work/mozilla/nsprpub/config'
cc -o now.o -c -O -pipe now.c
now.c:47:2: #error "Architecture not supported"
now.c:133:2: #error "Architecture not supported"
gmake[3]: *** [now.o] Error 1
[...]
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade34532.0 make "CFLAGS=-O -pipe" -DWITHOUT_MAILNEWS -DWITHOUT_CHATZILLA -DWITH_JAVASCRIPT_DEBUGGER -DWITHOUT_COMPOSER -DWITHOUT_CUPS
---snip---

My options are:
---snip---
# less /var/db/ports/mozilla/options 
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for mozilla-1.7.5_1,2
_OPTIONS_READ=mozilla-1.7.5_1,2
WITH_XFT=true
WITHOUT_CALENDAR=true
WITHOUT_MAILNEWS=true
WITHOUT_COMPOSER=true
WITHOUT_DEBUG=true
WITHOUT_LDAP=true
WITHOUT_CHATZILLA=true
WITHOUT_XMLTERM=true
WITH_JAVASCRIPT_DEBUGGER=true
WITH_OPTIMIZED_CFLAGS=true
WITHOUT_SMB=true
WITH_MENU_ENTRY=true
---snip---

now.c starts with:
---snip---
#include <stdio.h>
#include <stdlib.h>

#if defined(VMS)
#include <sys/timeb.h>
#elif defined(XP_UNIX) || defined(XP_OS2_EMX) || defined(XP_BEOS)
#include <sys/time.h>
#elif defined(WIN32)
#include <windows.h>
#elif defined(XP_OS2_VACPP)
#include <sys/timeb.h>
#else
#error "Architecture not supported"
#endif
---snip---

Where is it supposed to find e.g. XP_UNIX?

This is on -current from Jan 4, may I bee stumbled over a bug in our
make (I remember a discussion about a bug in make, but I'm not sure if
the timeframe fits)?

Bye,
Alexander.

-- 
         The computer revolution is over. The computers won.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050120173933.6bb3c3cc>