ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <dubrsl@altlinux.ru>
To: Devel@lists.altlinux.org
Subject: [devel] Ошибка при сборке wxPerl
Date: Wed, 21 Jun 2006 17:59:22 +0300
Message-ID: <44995ECA.2080207@altlinux.ru> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 6012 bytes --]

Здравствуйте.

Собираю wxperl (http://wxperl.sourceforge.net/download.html)
Не собирается. :-(  Может чего-то в зависимостях не хватает?

Подскажите, в чем может быть причина ошибки.

/usr/bin/perl /usr/lib/perl5/ExtUtils/xsubpp  -noprototypes
-nolinenumbers  -typemap /usr/lib/perl5/ExtUtils/typemap -typemap
../../typemap -typemap typemap  Grid.xs > Grid.xsc && mv Grid.xsc Grid.c
i586-alt-linux-g++ -c  -I. -I../..
-I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6  
-pipe -Wall -Os -march=i586 -mtune=pentium4 -D_GNU_SOURCE
-momit-leaf-frame-pointer   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\"
-fPIC -DPIC "-I/usr/lib/perl5/i386-linux/CORE"  -DWXPL_EXT
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA  Grid.c
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:34: error: invalid use of
'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:38: error: invalid use of
'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:40: error: invalid use of
'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:42: error: invalid use of
'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:43: error: invalid use of
'register' in linkage specification

===skip

/usr/lib/perl5/i386-linux/CORE/perlvars.h:69: error: invalid use of
'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/perlvars.h:73: error: invalid use of
'register' in linkage specification
/usr/include/wx-2.6/wx/hashmap.h: In member function
'wxLongToLongHashMap_wxImplementation_HashTable::Node**
wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long
int&) const':
/usr/include/wx-2.6/wx/hashmap.h:705: warning: dereferencing type-punned
pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/gdicmn.h: In member function
'wxStringToColourHashMap_wxImplementation_HashTable::Node**
wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const
wxString&) const':
/usr/include/wx-2.6/wx/gdicmn.h:476: warning: dereferencing type-punned
pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/clntdata.h: In member function
'wxShadowObjectMethods_wxImplementation_HashTable::Node**
wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const
wxString&) const':
/usr/include/wx-2.6/wx/clntdata.h:26: warning: dereferencing type-punned
pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/clntdata.h: In member function
'wxShadowObjectFields_wxImplementation_HashTable::Node**
wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const
wxString&) const':
/usr/include/wx-2.6/wx/clntdata.h:31: warning: dereferencing type-punned
pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/image.h: In member function
'wxImageHistogramBase_wxImplementation_HashTable::Node**
wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long
unsigned int&) const':
/usr/include/wx-2.6/wx/image.h:123: warning: dereferencing type-punned
pointer will break strict-aliasing rules
Grid.c: In function 'void
XS_Wx__GridCellTextEditor_new(PerlInterpreter*, CV*)':
Grid.c:286: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellNumberEditor_new(PerlInterpreter*, CV*)':
Grid.c:306: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellFloatEditor_new(PerlInterpreter*, CV*)':
Grid.c:338: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellBoolEditor_new(PerlInterpreter*, CV*)':
Grid.c:368: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellChoiceEditor_new(PerlInterpreter*, CV*)':
Grid.c:390: warning: unused variable 'CLASS'
../../cpp/v_cback.h: At global scope:
../../cpp/v_cback.h:40: warning: 'unused' attribute ignored
Grid.c: In function 'void
XS_Wx__GridCellStringRenderer_new(PerlInterpreter*, CV*)':
Grid.c:511: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellNumberRenderer_new(PerlInterpreter*, CV*)':
Grid.c:529: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellFloatRenderer_new(PerlInterpreter*, CV*)':
Grid.c:549: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellBoolRenderer_new(PerlInterpreter*, CV*)':
Grid.c:643: warning: unused variable 'CLASS'
Grid.c: In function 'void XS_Wx__GridEvent_new(PerlInterpreter*, CV*)':
Grid.c:717: warning: unused variable 'CLASS'
Grid.c: In function 'void XS_Wx__GridSizeEvent_new(PerlInterpreter*, CV*)':
Grid.c:935: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridRangeSelectEvent_new(PerlInterpreter*, CV*)':
Grid.c:1107: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridEditorCreatedEvent_new(PerlInterpreter*, CV*)':
Grid.c:1348: warning: unused variable 'CLASS'
Grid.c: In function 'void XS_Wx__GridCellAttr_new(PerlInterpreter*, CV*)':
Grid.c:1466: warning: unused variable 'CLASS'
Grid.c: In function 'void XS_Wx__GridCellCoords_new(PerlInterpreter*, CV*)':
Grid.c:1887: warning: unused variable 'CLASS'
Grid.c: In function 'void XS_Wx__GridTableMessage_new(PerlInterpreter*,
CV*)':
Grid.c:5816: warning: unused variable 'CLASS'
Grid.c: At global scope:
Grid.c:5993: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/patchlevel.h:122: warning:
'local_patches' defined but not used
make[2]: *** [Grid.o] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/Wx-0.26/ext/grid'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/usr/src/RPM/BUILD/Wx-0.26/ext'
make: *** [subdirs] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/Wx-0.26'
error: Bad exit status from /usr/src/tmp/rpm-tmp.268 (%build)

-- 
С уважением,
Дубровский Вячеслав.


[-- Attachment #1.2: perl-Wx.spec --]
[-- Type: text/plain, Size: 841 bytes --]

Name: perl-Wx
Version: 0.26
Release: alt0
Summary: wxPerl - Perl bindings for wxWindows 
License: GPL
Group: System/Libraries
Source: http://prdownload.sourceforge.net/wxperl/Wx-%version.tar.gz
Url: http://wxperl.sourceforge.net/

BuildRequires: gcc-c++ wxGTK2u-devel perl-Module-Build perl-Module-Install

%description
wxPerl is a Perl module wrapping the awesome wxWindows library
for cross-platform GUI developement.

%prep
%setup -q -n Wx-%version

%build
%def_without test
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc README.txt docs/todo.txt Changes
%perl_vendor_archlib/Wx*
%perl_vendor_autolib/Wx*
%perl_vendor_man3dir/*

%changelog
* Wed Jun 21 2006 Slava Dubrovskiy <dubrsl@altlinux.ru> 0.26-alt0
- 0.26
- Update spec

* Sat May 13 2006 Valentyn Solomko <val@pere.org.ua> 0.2.0.060513
- First build for ALTLinux.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

             reply	other threads:[~2006-06-21 14:59 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-21 14:59 Slava Dubrovskiy [this message]
2006-06-21 15:41 ` Sergey Vlasov
2006-06-21 15:50   ` Led
2006-06-23  8:22   ` Slava Dubrovskiy
2006-06-23 14:22     ` Alexey Tourbin
2006-06-24  0:02       ` Alexey Tourbin
2006-06-26  9:17         ` Slava Dubrovskiy
2006-06-26 10:45           ` Alex Gorbachenko
2006-06-26 12:39           ` Alexey Tourbin
2006-06-26 13:02             ` Slava Dubrovskiy
2006-06-26 13:16               ` Alexey Tourbin
2006-06-26 13:31                 ` Slava Dubrovskiy
2006-06-26 14:04               ` Alexey Tourbin
2006-06-26 14:17                 ` Slava Dubrovskiy
2006-06-26 14:27                   ` Alexey Tourbin
2006-06-26 14:32                     ` Slava Dubrovskiy
2006-06-26 14:39                       ` Alexey Tourbin
2006-06-26 14:54                   ` Alexey Tourbin
2006-06-26 15:30                     ` Igor Zubkov
2006-06-26 15:44                       ` Alexey Tourbin
2006-06-27  6:38                     ` Slava Dubrovskiy
2006-06-26 14:22                 ` Alexey Tourbin

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=44995ECA.2080207@altlinux.ru \
    --to=dubrsl@altlinux.ru \
    --cc=Devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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