Hi,

Thank you for answer my question.
I'm sorry, I did not know wxGTK 2.5.3 is development release.

I tried to downgrade to wxGTK 2.4.2, but I got the following 
errors.

 /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../libwx_gtk2-2.4.so: 
undefined reference to `_gtk_accel_group_detach'
 /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../libwx_gtk2-2.4.so: 
undefined reference to `_gtk_accel_group_attach'
 /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../libwx_gtk2-2.4.so: 
undefined reference to `_gtk_rc_context_get_default_font_name'
 collect2: ld returned 1 exit status
 make[1]: *** [newpki-client] Error 1

It seems that the cause of this error is the mismatching of 
GTK+ version and wxGTK version.
# Slackware 10.0 include GTK+1.2.10 and GTK+2.2.4.

I will try to solve this problem by myself.

Best regards,

-- ryo

From: Fr�d�ric Giudicelli <[EMAIL PROTECTED]>
Subject: Re: compilation newpki-client on wxGTK 2.5
Date: Mon, 22 Nov 2004 16:32:58 +0100 (CET)
Message-ID: <[EMAIL PROTECTED]>

> Hi,
> 
> Yes it seems to be correct.
> However, I never tested newpki with wxGTK-2.5, which is not a stable
> version, I cannot garantee you that it will work with newpki.
> I advise you to downgrade to wxGTK-2.4.2 which is the latest stable release.
> 
> Regards,
> --
> Fr�d�ric Giudicelli
> http://www.newpki.org
> 
> > Hi there.
> >
> > I'm a Japanese. I'm sorry, my English is poor, so it may be
> > hard to read this mail.
> >
> > I use Slackware Linux 10.0.
> > I got the following errors, while compiling newpki_client
> > 2.0.0 beta4 on wxGTK 2.5.3.
> >
> >  DlgServerAdmin.cpp: In member function `void
> >     DlgServerAdmin::OnTreeItemRightClick(wxTreeEvent&)':
> >  DlgServerAdmin.cpp:430: error: no matching function for call to
> > `wxTreeCtrl::
> >     GetParent(wxTreeItemId)'
> >  /usr/include/wx-2.5/wx/window.h:552: error: candidates are: wxWindow*
> >     wxWindowBase::GetParent() const
> >
> > According to the following URL, wxTreeCtrl::GetParent() is
> > deprecated and only work if WXWIN_COMPATIBILITY_2_2 is
> > defined. Use wxTreeCtrl::GetItemParent instead.
> >
> > http://www.wxwidgets.org/manuals/2.5.3/wx_wxtreectrl.html#wxtreectrlgetparent
> >
> > So I created the following patches to avoid this compile error.
> >
> >
> > --- src/DlgServerAdmin.cpp.orig 2004-05-31 08:02:50.000000000 +0900
> > +++ src/DlgServerAdmin.cpp      2004-11-21 14:04:54.000000000 +0900
> > @@ -427,7 +427,7 @@
> >
> >         m_treeCtrl->SelectItem(event.GetItem());
> >
> > -       if(m_treeCtrl->GetParent(event.GetItem()))
> > +       if(m_treeCtrl->GetItemParent(event.GetItem()))
> >         {
> >                 menu = menu_b->GetMenu(0);
> >                 if(menu)
> >
> >
> > Is this the right solution?
> >
> > -- ryo
> > _____________________________________________________________________
> > NewPKI                                          http://www.newpki.org
> > User Support Mailing List                     [EMAIL PROTECTED]
> > Automated List Manager                           [EMAIL PROTECTED]
> >
> 
> 
> 
> _____________________________________________________________________
> NewPKI                                          http://www.newpki.org
> User Support Mailing List                     [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> 
_____________________________________________________________________
NewPKI                                          http://www.newpki.org
User Support Mailing List                     [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to