On 08/28/2011 12:54 AM, Mark Dootson wrote: > Hi, > > You need to get the Perl you just installed on your path which you can > do with > > . /<install-directory>/PadrePerl/bin/padreenv32 > > > that's dot - space - path
Oh... I had assumed that the space was a typo... What does that do? I can't believe I've used Linux for 12 years and I've never seen that before. Anyway, after doing this I run padre and now I get this: % padre OnInit must return a true return value at /opt/PadrePerl/x86/5-12/site/lib/Padre/Startup.pm line 114 That line corresponds to "Padre::Wx::App->new;", which in turn comes from lib/Wx/App.pm: ---------------------------%<---------------------- sub new { my $this; my $class = ref( $_[0] ) || $_[0]; if( ref( $Wx::wxTheApp ) ) { bless $Wx::wxTheApp, $class; $this = $Wx::wxTheApp; } else { $this = $_[0]->SUPER::new(); bless $this, $class; $Wx::wxTheApp = $this; } $this->SetAppName( $_[0] ); # reasonable default for Wx::ConfigBase::Get my $ret = Wx::_App::Start( $this, $_[1] || $this->can( 'OnInit' ) ); Wx::_croak( 'OnInit must return a true return value' ) unless $ret; $this; } ---------------------------%<---------------------- For reference, here is the output of perl -V: ---------------------------%<---------------------- % perl -V Summary of my perl5 (revision 5 version 12 subversion 4) configuration: Platform: osname=linux, osvers=2.6.18-238.19.1.el5, archname=i686-linux-thread-multi uname='linux localhost.localdomain 2.6.18-238.19.1.el5 #1 smp fri jul 15 07:32:29 edt 2011 i686 athlon i386 gnulinux ' config_args='-ders -Dcc=gcc -Dusethreads -Duseithreads -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Accflags=-DUSE_SITECUSTOMIZE -Accflags=-fno-merge-constants -Duselargefiles -Dprefix=/opt/PadrePerl/x86/5-12 -Dprivlib=/opt/PadrePerl/x86/5-12/lib -Darchlib=/opt/PadrePerl/x86/5-12/lib -Dsiteprefix=/opt/PadrePerl/x86/5-12/site -Dsitelib=/opt/PadrePerl/x86/5-12/site/lib -Dsitearch=/opt/PadrePerl/x86/5-12/site/lib -Dvendorprefix=/opt/PadrePerl/x86/5-12/vendor -Dvendorlib=/opt/PadrePerl/x86/5-12/vendor/lib -Dvendorarch=/opt/PadrePerl/x86/5-12/vendor/lib -Dsed=/bin/sed -Duseshrplib -Dcf_by=CitrusPerl -Dcf_email=supp...@citrusperl.org' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DUSE_SITECUSTOMIZE -fno-merge-constants -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DUSE_SITECUSTOMIZE -fno-merge-constants -fno-strict-aliasing -pipe -fstack-protector' ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-50)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -fstack-protector' libpth=/lib /usr/lib /usr/local/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/opt/PadrePerl/x86/5-12/lib/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API USE_SITECUSTOMIZE Built under linux Compiled at Aug 11 2011 07:55:30 %ENV: PERL5LIB="/home/daniel/.local/perl5/lib/perl5/i486-linux-gnu-thread-multi:/home/daniel/.local/perl5/lib/perl5" PERL_MM_OPT="INSTALL_BASE=/home/daniel/.local/perl5" @INC: /home/daniel/.local/perl5/lib/perl5/i486-linux-gnu-thread-multi /home/daniel/.local/perl5/lib/perl5 /opt/PadrePerl/x86/5-12/site/lib /opt/PadrePerl/x86/5-12/vendor/lib /opt/PadrePerl/x86/5-12/lib . ---------------------------%<---------------------- Any ideas? Thanks for the help. Daniel. -- I'm not overweight, I'm undertall. _______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev