ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Denis V. Rybakov" <dendery@inbox.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] mozilla and Co backports
Date: Thu, 07 Apr 2005 01:30:20 +0400
Message-ID: <425454EC.20709@inbox.ru> (raw)

Имею alm 2.4 (оригинальный, с сизифа не обновлялся)

Пытаюсь собрать firefox 1.0.2 из src.rpm от федоры (уж что нашел).
Правки зависимостей все сделал, редхатовские патчи отключил.

Проблема в следующем

gmake[3]: Entering directory 
`/home/dry/RPM/BUILD/mozilla/extensions/negotiateauth'
nsNegotiateAuthFactory.cpp
c++ -o nsNegotiateAuthFactory.o -c -DOSTYPE=\"Linux2.4\" 
-DOSARCH=\"Linux\" -DHAVE_DEPENDENT_LIBS -DUSE_GSSAPI  
-I../../dist/include/xpcom -I../../dist/include/string 
-I../../dist/include/necko -I../../dist/include/pref 
-I../../dist/include/negotiateauth -I../../dist/include 
-I/home/dry/RPM/BUILD/mozilla/dist/include/nspr     -I. 
-I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti 
-fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
-Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread 
-pipe  -DNDEBUG -DTRIMMED -pipe -Wall -Os -march=athlon  
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h 
-Wp,-MD,.deps/nsNegotiateAuthFactory.pp nsNegotiateAuthFactory.cpp
In file included from nsNegotiateAuthFactory.cpp:64:
nsNegotiateAuthGSSAPI.h:74: error: syntax error before `)' token
nsNegotiateAuthGSSAPI.h:63: warning: `class nsNegotiateAuth' only 
defines a private destructor and has no friends
nsNegotiateAuthGSSAPI.h:63: warning: `class nsNegotiateAuth' has virtual 
functions but non-virtual destructor
nsNegotiateAuthGSSAPI.h:76: error: syntax error before `private'
nsNegotiateAuthGSSAPI.h:78: error: 'gss_OID' is used as a type, but is 
not defined as a type.
nsNegotiateAuthGSSAPI.h:81: error: syntax error before `}' token

смотрим что там

#if defined(HAVE_GSSAPI_H)
#include <gssapi.h>
#elif defined(HAVE_GSSAPI_GSSAPI_H)
#include <gssapi/gssapi.h>
#endif

#if defined(HAVE_GSSAPI_GENERIC_H)
#include <gssapi_generic.h>
#elif defined(HAVE_GSSAPI_GSSAPI_GENERIC_H)
#include <gssapi/gssapi_generic.h>
#endif

....

/ The nsNegotiateAuth class provides responses for the GSS-API Negotiate 
method
// as specified by Microsoft in draft-brezak-spnego-http-04.txt

class nsNegotiateAuth : public nsIAuthModule
{
public:
    NS_DECL_ISUPPORTS
    NS_DECL_NSIAUTHMODULE

    nsNegotiateAuth();

private:
    ~nsNegotiateAuth() { Reset(); }

    void    Reset();
    gss_OID GetOID() { return mMechOID; };

private:
    gss_ctx_id_t mCtx;
    gss_OID      mMechOID;
    nsCString    mServiceName;
    PRUint32     mServiceFlags;
};

не может найти определения структур из gssapi, которое вероятнее всего 
находится
в gssapi.h, который входит в состав libgssapi в рамках проекта
"NFSv4 for linux 2.6 kernels" 
(http://www.citi.umich.edu/projects/nfsv4/linux/),
Ядро у меня понятное дело 2.4 и никакого libgssapi нет.

хочу обратить внимание, что ни один из #ifdef не активируется, в 
mozilla-config.h  у меня
никаких дефайнов относительно GSSAPI, логично было бы предположить, что 
скрипты
конфигурации должны были бы исключить nsNegotiateAuthGSSAPI.cpp из билда,
однако он пытается компилироваться.

тем не менее у меня нет особого желания копаться с этим дальше, возможно 
кто-то
уже сталкивался с этой проблемой - поделитесь решением или может даже 
уже есть
готовый backport?






             reply	other threads:[~2005-04-06 21:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-06 21:30 Denis V. Rybakov [this message]
2005-04-06 21:42 ` Eugene Ostapets
2005-04-07 20:26   ` Denis V. Rybakov
2005-04-07  6:32 ` [sisyphus] " Michael Shigorin
2005-04-07  6:50     ` Michael Shigorin
2005-04-07 14:10       ` Re[2]: " Anton Gorlov aka stalker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=425454EC.20709@inbox.ru \
    --to=dendery@inbox.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git