From: Steve F. <st...@pc...> - 2003-02-19 22:46:32
|
chetna- step 5. of the build system setup tells you what to do with PERL5LIB. (we added this about a week ago, so you might have missed it). you need to add $GUS_HOME/lib/perl to the front of PERL5LIB. I suspect that much of the rest of the stuff in there is unneeded. (it might have been from the the old gus) in any case, the first element in your @INC shouldn't be there. maybe you put it there to try to solve the problem? steve Chetna Warade wrote: >Hi, > >I ran the create-db.sh script and the grantPermissions.pl fails and >thats why the constraints script fails. All the users and tables are >correctly created. > >I have strictly followed all the steps and setting up the env variables as >the Build System Set up doc says except the point 7 (steve recommended >that choice as I could download stuff from cvsweb too) > >[chetna@mango chetna]$ grantPermissions.pl >Can't locate GUS/DBAdmin/Database.pm in @INC (@INC contains: >/home/projects/GUS/DBAdmin/lib/perl /home/projects/lib >/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 >/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 >/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 >/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux >/usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at >/home/gus_home/bin/grantPermissions.pl line 15. >BEGIN failed--compilation aborted at >/home/gus_home/bin/grantPermissions.pl line 15. >[chetna@mango chetna]$ > >I am observing that the @INC stuff is actually using PERL5LIB env variable >from my .bash_profile and the Build System doesnt talk about this var. > >Please let me know how to debug the grantPermissions.pl. > >Thanks >Chetna > > > > >------------------------------------------------------- >This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. >The most comprehensive and flexible code editor you can use. >Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. >www.slickedit.com/sourceforge >_______________________________________________ >Gusdev-gusdev mailing list >Gus...@li... >https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > > > |