Fwd: @INC error

Caleb Tennis caleb at aei-tech.com
Tue Jan 28 14:25:58 GMT 2003


On Monday 27 January 2003 21:23, Glenn Hancock wrote:
> Thanks for the help but still confused.  First of all, this thing was
> just configured yesterday which confuses me as to why it didn't work.  I
> also used the --prefix option to have all the files installed into a
> directory to allow me to remove them if they didn't work.  Maybe that
> has caused a problem.
>
> So, reconfiguring isn't going to help me, and I do not understand what
> you're telling me to do with the template apps as i do not see a folder
> in source directory that says anything about templates.

What happens is that the first time you run ./configure, it puts an include 
statement at the top of all of the kappwizard perl template files telling 
that script where to find a "template-common" set of routines.

For example, at the top of kdevelop/parts/appwizard/qmakeapp/script.local:

#!perl -I/opt/kde3/addons/share/apps/kdevappwizard/template-common

That -I statement is based on how configure is called, eg: ./configure 
--prefix=/opt/kde3/addons

Once kdevelop is compiled and installed, then it looks in that directory 
whenever you attempt to make a new appwizard project so it knows where the 
common set of routine scripts are located.

So, what you should do is go to your installation directory, and you should 
see "share/apps/kdevappwizard/" and a whole bunch of template directories 
beneath it.  If you go into one, there will be a filed called "script", which 
is what Kdevelop will attempt to run when it creates a new appwizard project.  
The -I at the top of that file is probably pointing to the wrong place to 
find template-common.  If you change that to the right directory, it *should* 
work.

Caleb

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list