[wxperl-users] how to build wxPerl from sources using Alien-wxWidgets-0.22

Hello,

I'm trying to build wxPerl from sources (wxGTK-2.6.3 is already built by my tool),
and I am confused.

Where can I find step by step instruction how to build wxPerl from sources using
Alien-wxWidgets-0.22 ?

Do I just follow the instructions in Wx-0.57/README.txt file, which are:

"
perl Makefile.PL
make
make test
make install
"

?

Do I have to call methods of Alien-wxWidgets-0.22 ? wxGTK-2.6.3 is located in a
non-standard location.

I also want to put wxPerl in a local directory. What is the place/method to specify
install directory for wxPerl.

Thanks,
  Sergei.

Applications From Scratch: http://appsfromscratch.berlios.de/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

0
sergstesh
10/19/2006 5:57:55 PM
perl.wxperl.users 3070 articles. 0 followers. Follow

2 Replies
481 Views

Similar Articles

[PageSpeed] 50

On Thu, 19 Oct 2006 10:57:55 -0700 (PDT)
Sergei Steshenko <sergstesh@yahoo.com> wrote:

  Hi,

> I'm trying to build wxPerl from sources (wxGTK-2.6.3 is already built by my tool),
> and I am confused.
> 
> Where can I find step by step instruction how to build wxPerl from sources using
> Alien-wxWidgets-0.22 ?
> 
> Do I just follow the instructions in Wx-0.57/README.txt file, which are:
> 
> "
> perl Makefile.PL
> make
> make test
> make install
> "
> 
> ?
> 
> Do I have to call methods of Alien-wxWidgets-0.22 ? wxGTK-2.6.3 is located in a
> non-standard location.
> 
> I also want to put wxPerl in a local directory. What is the place/method to specify
> install directory for wxPerl.

  For installing Perl modules in non-standard paths, please see the
"INSTALL PATHS" section of Module::Build documentation (for
Alien::wxWidgets) and the "make install" section of
ExtUtils::MakeMaker documentation (for wxPerl).

  First you need to install Alien::wxWidgets.

export WX_CONFIG=/path/to/my/wx-config
perl Build.PL
../Build
../Build test
../Build install

then install wxPerl (notice that Alien::wxWidgets must be in Perl INC
search path).

perl Makefile.PL
make all
make test
make install

HTH
Mattia

0
mattia
10/19/2006 8:12:54 PM
Mattia,

thanks for your reply, please see my questions inline.

--- Mattia Barbon <mattia.barbon@libero.it> wrote:

> On Thu, 19 Oct 2006 10:57:55 -0700 (PDT)
> Sergei Steshenko <sergstesh@yahoo.com> wrote:
> 
>   Hi,
> 
> > I'm trying to build wxPerl from sources (wxGTK-2.6.3 is already built by my tool),
> > and I am confused.
> > 
> > Where can I find step by step instruction how to build wxPerl from sources using
> > Alien-wxWidgets-0.22 ?
> > 
> > Do I just follow the instructions in Wx-0.57/README.txt file, which are:
> > 
> > "
> > perl Makefile.PL
> > make
> > make test
> > make install
> > "
> > 
> > ?
> > 
> > Do I have to call methods of Alien-wxWidgets-0.22 ? wxGTK-2.6.3 is located in a
> > non-standard location.
> > 
> > I also want to put wxPerl in a local directory. What is the place/method to specify
> > install directory for wxPerl.
> 
>   For installing Perl modules in non-standard paths, please see the
> "INSTALL PATHS" section of Module::Build documentation (for
> Alien::wxWidgets) and the "make install" section of
> ExtUtils::MakeMaker documentation (for wxPerl).

I went through

http://search.cpan.org/~kwilliams/Module-Build-0.2805/lib/Module/Build.pm

page, I hope that's what you meant saying

'please see the "INSTALL PATHS" section of Module::Build documentation'

> 
>   First you need to install Alien::wxWidgets.

Well, I guess I first have to install Module::Build since it's not installed
on my system. Correct ?

> 
> export WX_CONFIG=/path/to/my/wx-config
> perl Build.PL
> ./Build
> ./Build test
> ./Build install
> 

OK, I guess the above piece is related to building Alien::wxWidgets, right ?

On my system Alien::wxWidgets was unpackaged as

/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/Alien-wxWidgets-0.22

, so I guess the above commands to build Alien::wxWidgets should actaully on
my system be:

Bunch 1:
--------

cd /maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/Alien-wxWidgets-0.22
export WX_CONFIG=/maxtor5/sergei/AppsFromScratchWD/install/wxGTK-2.6.3/bin/wx-config
perl Build.PL --prefix /maxtor5/sergei/AppsFromScratchWD/install/Wx-0.57
../Build
../Build test
../Build install

Comments regarding the proposed commands:

1) wxGTK-2.6.3 is indeed installed under

/maxtor5/sergei/AppsFromScratchWD/install/wxGTK-2.6.3

and path 'wx-config' is indeed

/maxtor5/sergei/AppsFromScratchWD/install/wxGTK-2.6.3/bin/wx-config ;

2) I want wxPerl to be installed under

/maxtor5/sergei/AppsFromScratchWD/install/Wx-0.57

, that's why the

--prefix /maxtor5/sergei/AppsFromScratchWD/install/Wx-0.57

part.

So, what is going to be generted as the result of the above commands ?

Some configuration file(s) for wxPerl build proper ? If yes, what are their
names and locations ?


> then install wxPerl (notice that Alien::wxWidgets must be in Perl INC
> search path).
> 
> perl Makefile.PL
> make all
> make test
> make install

Since on my system Alien::wxWidgets is apparently represented by

/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/Alien-wxWidgets-0.22/lib/Alien/wxWidgets.pm

file, I guess the final bunch of commands should actually look like this:


Bunch 2:
--------

cd /maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57
perl \
-I /maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/Alien-wxWidgets-0.22/lib/Alien/wxWidgets.pm \
Makefile.PL
make all
make test
make install

Comments regarding the above:

1) Makefile.PL for Wx-0.57 is apparently

/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/Makefile.PL

, that's why "cd /maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57";

2) as stated above, Alien::wxWidgets is apparently

/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/Alien-wxWidgets-0.22/lib/Alien/wxWidgets.pm

on my system that's why

-I /maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/Alien-wxWidgets-0.22/lib/Alien/wxWidgets.pm

> 
> HTH
> Mattia
> 

Please comment on these understandings of mine. At the moment my biggest
concern/confusion is about passing config data from "Bunch 1" to "Bunch 2"
- if at all I got the picture right.

Thanks,
  Sergei.

Applications From Scratch: http://appsfromscratch.berlios.de/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

0
sergstesh
10/19/2006 10:19:39 PM
Reply:

Similar Artilces:

[wxperl-users] wxPerl 0.22
Hello, this release has just some minor improvements over 0.21, mainly for wxWidgets 2.5.3 and Mac OS X users. The reasons for this release are: * FreeBSD support (I have a FreeBSD port for 5.10, I'll send it separately) * Mac OS X binary packages: the ones I distributed until now were broken in various ways. These ones have been tested on a fresh OS X installation (no XCode installed, no updates, nothing). There are bot ANSI and Unicode versions. I haven't updated the WebSite yet, you can download directly from https://sourceforge.net/project/showfiles.php?grou...

[wxperl-users] wxPerl 0.22 with wxWidgets 2.5.4
Hi, I just compiled wxWidgets 2.5.4 with mingw (dev cpp) and wxPerl 0.22 on =20 WinXP ActivePerl 5.8.4. The demo workes and some other scripts I tested. But I get some errors while testing and cause it's my first time compilin= g =20 on WinXP (BTW: feels good ;-) ) I don't really know what they mean. Here is the test report. greetz & blessings Manuel ########################### C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" =20 "test_harness(0, 'bl ib\lib', 'blib\arch')" t\01_load.t t\02_inheritance.t ...

Re:[wxperl-users] wxPerl 0.22 with wxWidgets 2.5.4
Hello, > I just compiled wxWidgets 2.5.4 with mingw (dev cpp) and wx= Perl 0.22 on > WinXP ActivePerl 5.8.4. > The demo workes and some oth= er scripts I tested. > But I get some errors while testing and cause it'= s my first time compiling > on WinXP (BTW: feels good ;-) ) I don't re= ally know what they mean. In this case the error is more of a warnin= g, but I will correct it ASAP. There will be no problems in running any = wxPerl application. Thanks! Mattia =0A=0A=0A=0A____________________= ________________________________________=0A6X...

[wxperl-users] [ wxperl-Bugs-1237847 ] wxPerl does not build with wxUniversal
Bugs item #1237847, was opened at 2005-07-13 23:24 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115655&aid=1237847&group_id=15655 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mattia Barbon (mbarbon) Assigned to: Nobody/Anonymous (nobody) Summary: wxPerl does...

[wxperl-users] Plans for wxPerl 0.23, wxWidgets 2.6.0
Hello, as some of you might already know, wxWidgets 2.6.0, the next stable wxWidgets release, has just been ...err... released. I would like to release wxPerl 0.23 as soon as RPMs become available, but I am definitely not going to provide binaries for all combinations of Perl 5.6.x/5.8.x, wxWidgets 2.4.2/2.6.0, Unicode/non Unicode, for Windows, GTK2, Mac OS X. I am going to provide only wxWidgets 2.6.x releases from now on, and I will consider if I will keep distributing Perl 5.6.x-enabled binaries. If anybody is willing to take the time to compile and relase wxWidgets 2.4....

[wxperl-users] Ubuntu wxPerl 0.65 with wxWidgets 2.8.0
I managed to get wxPerl 0.65 to build against the new wxWidgets 2.8.0. I used the Ubuntu wxWidgets binaries for 2.8.0 (http://www.wxwidgets.org/downloads/), but had a few problems with Alien::WxWidgets: mike@mbs:~/downloads/Alien-wxWidgets-0.25$ perl Build 'animate' library not found at inc/My/Build/Any_wx_config.pm line 141. 'deprecated' library not found at inc/My/Build/Any_wx_config.pm line 141. So I added this line to inc/My/Build/Any_wx_config.pm: next if $k =~ m/^animate|deprecated$/; just to see if things would build, etc. After that everything ...

[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:[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] 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] Plans for wxPerl 0.23, wxWidgets 2.6.0
Hello, > Mattia Barbon wrote: > > > I am going to provide only w= xWidgets 2.6.x releases from now on, > >and I will consider if I will ke= ep distributing Perl 5.6.x-enabled > >binaries. If anybody is willing to= take the time to compile and relase > >wxWidgets 2.4.x binaries, I will= most gratefully grant him/her the > >appropriate permissions, otherwise= I will just drop those combination from > >binary releases (I will keep= support in the sources). > > > > > If there is anyone who would sti= ll like sup...

Re: [wxperl-users] Ubuntu wxPerl 0.65 with wxWidgets 2.8.0
> I managed to get wxPerl 0.65 to build against the new wxWidgets 2.8.0. > > I used the Ubuntu wxWidgets binaries for 2.8.0 > (http://www.wxwidgets.org/downloads/), but had a few problems with > Alien::WxWidgets: > > mike@mbs:~/downloads/Alien-wxWidgets-0.25$ perl Build > 'animate' library not found at inc/My/Build/Any_wx_config.pm line 141. > 'deprecated' library not found at inc/My/Build/Any_wx_config.pm line 14= 1. > > So I added this line to inc/My/Build/Any_wx_config.pm: > > next if $k =3D~ m/^animate|deprecated...

[wxperl-users] problem building wxperl 0.20
Hello, I am trying to build WxPerl 0.20 and having a problem. I have Arch Linux installed with WxWidgets (WxGTK) 2.4.2 and Perl 5.8.5. Running "perl Makefile.PL" works fine. Here's the output from running "make". Any help you can provide would be much appreciated. Thanks, Scott Weisman sweisman@lexicon Wx-0.20]$ make /usr/bin/perl script/copy_files.pl files.lst cp cpp/overload.h blib/lib/Wx/cpp/overload.h cp cpp/wxapi.h blib/lib/Wx/cpp/wxapi.h cp cpp/constants.h blib/lib/Wx/cpp/constants.h cp cpp/helpers.h blib/lib/Wx/cpp/helpers.h cp cpp/setup.h...

[wxperl-users] Alien::wxWidgets and the next wxPerl release
[trying again, it apparently did not arrive to the list] Hi all, after working on and off on Alien::wxWidgets for some time, I am now approaching the point when I can switch the wxPerl build system and releases to using it. I already detailed the reasons in <Mahogany-0.66.0-1156-20050814-162130.00@rbnet.it> (http://sourceforge.net/mailarchive/message.php?msg_id=3D12644776). I write to explain what will be the changes for packagers like PAR, PerlApp, Perl2Exe. There are two scenarios: I) wxWidgets is built and installed in a system-defined location (/usr, /usr/loca...

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...