RE: Re[2]: [wxperl-users] Installation on FreeBSD 5.3 #2

  Hello,

> 
> > > Can anyone point me in the right direction?
> > =0D
=
> > >   Not without some more information...
> > > what ExtUtils::MakeMa=
ker version do you have? 
> > 
> > $VERSION =3D '6.17';
> > 
> > > Wh=
at is the output of
> > > make
> > 
> > ./cpp/helpers.h:27: error: `wx=
OutputStream' does not name a type
> > ./cpp/helpers.h:37: error: expect=
ed `,' or `...' before '*' token
> > ./cpp/helpers.h:37: error: ISO C++ =
forbids declaration of `wxChar'
> with
> > no type
> 
> <snip>
> =0D
=
> >   Is this the first error? If not, could you send me the very first e=
rror
> appearing after compiler invocation? 
> 
> No it's not.  Sorry =
about that - I don't know how that happened...
> 
> ----------------=0D
=
> onion# make
> c++ -c  -I. -I. -I/usr/local/lib/wx/include/gtkd-2.4   -=
O -pipe
> -DVERSION=3D\"0.21\"  -DXS_VERSION=3D\"0.21\" -DPIC -fPIC
> "=
-I/usr/local/lib/perl5/5.8.5/mach/CORE"  -D__WXDEBUG__ -D__WXGTK__
> -D_=
FILE_OFFSET_BITS=3D64 -D_LARGE_FILES Wx.c
> In file included from Wx.c:3=
2:
> cpp/wxapi.h:21:21: wx/defs.h: No such file or directory
> cpp/wxap=
i.h:26:2: #error wxWindows 2.2.x and 2.3.x are no longer supported
> by =
wxPerl In file included from ./cpp/chkconfig.h:14,
>                  fr=
om cpp/wxapi.h:29,
>                  from Wx.c:32:
> /usr/local/lib/wx=
/include/gtkd-2.4/wx/setup.h:1144:24: wx/chkconf.h:No such
> file or dir=
ectory In file included from cpp/wxapi.h:76,
>                  from Wx.=
c:32:
> ./cpp/helpers.h:16:23: wx/object.h: No such file or directory=0D
=

  This is what I suspected. Do you have wx/defs.h under
/usr/local/inc=
lude?

> > Is wxWidgets installed? If wx-config installed and in the pa=
th?
> 
> Yes.  wx-config is in /usr/local/bin/wx-config.  wx-config --v=
ersion returns
> 2.4.2

  Could you try wx-config --cxxflags and wx-co=
nfig --cppflags?
Does the output mention /usr/local/include?

Thanks=0D
=
Mattia=0A=0A=0A=0A_______________________________________________________=
_____=0ARegala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.=
2 Mega di musica, film, video e sport. =0AAbbonati subito senza costi di =
attivazione su http://www.libero.it=0A=0A


0
mattia
12/20/2004 4:25:06 PM
perl.wxperl.users 3070 articles. 0 followers. Follow

1 Replies
690 Views

Similar Articles

[PageSpeed] 39

[[snip]]
> onion# make
> c++ -c  -I. -I. -I/usr/local/lib/wx/include/gtkd-2.4   -O -pipe
> -DVERSION=\"0.21\"  -DXS_VERSION=\"0.21\" -DPIC -fPIC 
> "-I/usr/local/lib/perl5/5.8.5/mach/CORE"  -D__WXDEBUG__ -D__WXGTK__
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES Wx.c In file included from 
> Wx.c:32:
> cpp/wxapi.h:21:21: wx/defs.h: No such file or directory
> cpp/wxapi.h:26:2: #error wxWindows 2.2.x and 2.3.x are no longer 
> supported by wxPerl In file included from ./cpp/chkconfig.h:14,
>                  from cpp/wxapi.h:29,
>                  from Wx.c:32:
> /usr/local/lib/wx/include/gtkd-2.4/wx/setup.h:1144:24: wx/chkconf.h:No 
> such file or directory In file included from cpp/wxapi.h:76,
>                  from Wx.c:32:
> ./cpp/helpers.h:16:23: wx/object.h: No such file or directory

>   This is what I suspected. Do you have wx/defs.h under
/usr/local/include?

Yes.

> > Is wxWidgets installed? If wx-config installed and in the path?
> 
> Yes.  wx-config is in /usr/local/bin/wx-config.  wx-config --version 
> returns
> 2.4.2
> 
>   Could you try wx-config --cxxflags and wx-config --cppflags?
> Does the output mention /usr/local/include?

Neither of them do:

onion# wx-config --cxxflags
-I/usr/local/lib/wx/include/gtkd-2.4 -D__WXDEBUG__ -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
onion# wx-config --cppflags
-I/usr/local/lib/wx/include/gtkd-2.4 -D__WXDEBUG__ -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES

> Thanks
> Mattia

Is this easy to fix?

-Erich-


0
erich
12/20/2004 5:17:10 PM
Reply:

Similar Artilces:

RE: Re[2]: [wxperl-users] Installation on FreeBSD 5.3
> > Can anyone point me in the right direction? > > > Not without some more information... > > what ExtUtils::MakeMaker version do you have? > > $VERSION = '6.17'; > > > What is the output of > > make > > ./cpp/helpers.h:27: error: `wxOutputStream' does not name a type > ./cpp/helpers.h:37: error: expected `,' or `...' before '*' token > ./cpp/helpers.h:37: error: ISO C++ forbids declaration of `wxChar' with > no type <snip> > Is this the first error? If not, could you...

Re: [wxperl-users] wxPerl-0.20 Source Build on OSX.3.5/wxPython 2.5.2.7
> MakeMaker 6.21. Sorry. Below I meant to write: "If 6.21, downgrad= e to 6.17 or use the snapshot at makemaker.org." ^^^^ Regards=0D = Mattia > On Aug 18, 2004, at 11:56 PM, mattia.barbon@libero.it wrote:=0D = > ''' > >> Next, Makemaker is building the root Makefile with both blibd= irs: and > > > > Which MakeMaker version? If 6.22, downgrade to 6.17 = or > > use the snapshot at makemaker.org. > > > ... > > Thanks! > > = Mattia > > > > > > > > > &g...

Re:[wxperl-users] wxPerl-0.20 Source Build on OSX.3.5/wxPython 2.5.2.7
> I've just built wxPerl 0.20 as indicated in the subject, and I had a =0D = > few issues: > > First, the syntax for wx-config used in > Any_wx_c= onfig.pm::get_core_libs_25 seems to have changed: Instead of > "--libs=3D= list" it's now "--libs list". yes, it was changes in wxWidgets CVS l= ast week. > Next, Makemaker is building the root Makefile with both b= libdirs: and Which MakeMaker version? If 6.22, downgrade to 6.17 or= use the snapshot at makemaker.org. > blibdirs::. That produces an = error. Cha...

RE: [wxperl-users] Building wxPerl with wxWindows 2.3.1, and usingXML resources #2
Dear Mattia, Thanks for the info - I'm getting further! I've built xrc using: nmake -f makefile.vx FINAL=3D1 to create wxxrc.lib (rather than wxxrcd.lib), and this worked fine. However, when I try building wxPerl, using: nmake=20 perl Makefile.PL nmake=20 I get the following errors (I've snipped sections out to give the gist, as it goes on quite a bit): link -out:..\..\blib\arch\auto\Wx\XRC\XRC.dll -dll -nologo -nodefaultlib -release -libpath:"c:\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" -machine:x86 XRC.obj ..\..\blib\arch\auto\Wx\Wx.lib C:\p...

RE: [wxperl-users] Re: wxValidator available via wxPerl #2
Dear Mattia, Thanks - this works a treat! I was so close... Anyway, now I'm up and running. I had noticed the 'Attempt to free unreferenced...' error - will await a fix. Now that I've got things working, what do you suggest/would you like? I feel that validators are the way to go when it comes to transferring data to/from controls (rather than explicit GetValue/SetValue calls all over the place) - I have had to implement a similar concept (though not as elegant) in a very large Perl/Tk application which we have developed. I see that you think we should create...

RE: Re[2]: [wxperl-users] Wx::PreviewFrame issues #2
Hello, > Something that I have found ... I can do the following: > = > <snip> > package PrintingDemoControlBar; > use base 'Wx::PlPrevie= wControlBar'; > sub CreateButtons { > Wx::LogMessage( 'PrintingDe= moControlBar::CreateButtons' ); > shift->SUPER::CreateButtons; > = } > </snip> > > But the following: > > <snip> > package Printing= DemoPreviewFrame; > use base 'Wx::PlPreviewFrame'; > sub Initialize {= > shift->SUPER::Initialize( @_ ); ...

RE: Re[2]: [wxperl-users] Simple Messagebox . . . Take 2
-----Original Message----- From: Mattia Barbon [mailto:mbarbon@dsi.unive.it] Sent: Saturday, December 07, 2002 4:07 AM To: 'DH'; 'wxperl-users@lists.sourceforge.net'; Everett, Toby Subject: Re[2]: [wxperl-users] Simple Messagebox . . . Take 2 > No, it is designed to be used as a modal dialog. Given that, is there a way to ask for a feature to be added that would let the programmer request that the dialog be brought to the foreground when "ShowModal" is called? I realize that this is probably more of a Wx feature request than a wxPerl feature . . . In m...

RE: [wxperl-users] Building wxPerl with wxWindows 2.3.1, and usingXML resources #3
Dear Mattia, Forgot to say that I did a=20 nmake realclean before the=20 perl makefile.pl nmake in order to clean things up from the 2.2.7 build. James > -----Original Message----- > From: Mattia Barbon [mailto:mbarbon@dsi.unive.it] > Sent: 05 November 2001 22:19 > To: James Lavery > Cc: wxperl-users@lists.sourceforge.net > Subject: RE: [wxperl-users] Building wxPerl with wxWindows 2.3.1, and > usingXML resources >=20 >=20 > > Dear Mattia, > > Thanks for the information - it all makes sense. =20 > >=20 > > Howev...

[wxperl-users] wxPerl-0.20 Source Build on OSX.3.5/wxPython 2.5.2.7
I've just built wxPerl 0.20 as indicated in the subject, and I had a few issues: First, the syntax for wx-config used in Any_wx_config.pm::get_core_libs_25 seems to have changed: Instead of "--libs=list" it's now "--libs list". Next, Makemaker is building the root Makefile with both blibdirs: and blibdirs::. That produces an error. Changing the single colon to a double colon fixes the problem, but it has to be done every time one runs Makefile.PL. I couldn't figure out where to fix it in the MakeMaker files. Last, could you take out the...

RE: Re[4]: [wxperl-users] [OT, or maybe not?] wxPerl T-Shirt? #2
Extending this idea, we could have the ASCII art camel on a "green = screen". Then the graphical camel would be shown in three separate = windows below, one in each of the OS flavors (GTK, Win32, Mac OS X). --Toby Ovod-Everett -----Original Message----- From: Ovod-Everett, Toby=20 Sent: Monday, July 28, 2003 10:45 AM To: wxperl-users@lists.sourceforge.net Subject: RE: Re[4]: [wxperl-users] [OT, or maybe not?] wxPerl T-Shirt? What about an ASCII art camel on top (assuming O'Reilly gives a thumbs = up). Then a "use Wx;" Then a very n...

Re: [wxperl-users] wxPerl binary for wxWindows 2.3.x?
>Of course, I 'm probalby caught between a rock and a hard place slightly - >if I want the extra functionality/fixes in wxWindows 2.3.3, I'll have to >take the potential hit on new bugs! I've been using 0.11b6 for some weeks and it's stable on my machine. I'm going to send my next preview version to a few people for testing in the day or two as well. Mattia, let me know before you release 0.11-stable, so I send you the latest STC stuff. I'm updating the sample/demo script at the moment. Marcus ...

Re: [wxperl-users] Problem for installing last wxPerl on Windows #2
Is there anyone that can give me a windows binary of wxPerl-0.67 ? It = should have been located at http://wxperl.sourceforge.net/download.html = but the last version updated is only 0.26, a one year old version ! It= 's been 3 days I try to compile it and don't find out how to do it. My= configuration is : System : Windows XP Perl : Active Perl 5.8.8 Buil= d 819 (last existing version) wxWidgets version 2.8.0 compiled in all mo= des The error I get is described at the end of the message. Thinkin= g that I should install Alien::wxWidgets, I tried to do it w...

RE: [wxperl-users] Plans for wxPerl 0.23, wxWidgets 2.6.0 #2
Hello, > I tried to compile wxPerl CVS against 2.6.0 and I got the = errors as below. > > I am compiling on WinXP using MSVC6. Should this = work? Have others > successfully compiled? Yes, but with MSVC 5 and= GCC (various versions), not MSVC 6. Are you up to date with MSVC servic= e packs? > C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp = -noprototypes > -nolinen <snip> > Grid.c(390) : warning C4189: 'CLAS= S' : local variable is initialized but not > referenced > Grid.c(464) := fatal error C1001: INTERNA...

Re:[wxperl-users] wxPerl-0.21 Mac Install Problem #2
> Any help would be appreciated. I think there may be a problem with the=0D = > Installer for Mac. Has anyone successfully installed 0.21 on Mac yet?=0D = if it hangs for you surely there is a problem. The $1M question is: = running "wxPerl foo.pl" works for you? IOW: did the installed hang befor= e or after completing its job? Regards Mattia =0A=0A=0A=0A_________= ___________________________________________________=0ARegala e regalati L= ibero ADSL: 3 mesi gratis, navighi veloce e scarichi a 1.2 Mega. =0AAbbon= ati subito senza costi di attivazione su http...

Web resources about - RE: Re[2]: [wxperl-users] Installation on FreeBSD 5.3 #2 - perl.wxperl.users

O'Reilly Open Source Convention 2007 • July 23-27, 2007 • Portland, Oregon
O'Reilly Open Source Convention 2007 - July 23-27, 2007 - Portland, Oregon

Resources last updated: 12/18/2015 12:39:02 AM