[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop
Subject: Re: Fwd: @INC error
From: Glenn Hancock <ghancock () softeksoftware ! com>
Date: 2003-01-28 2:44:51
[Download RAW message or body]
Caleb,
Ok, I see what folders your talking about and have revied the path,
however, it pointed to
/usr/local/kdev/share/apps/kdevappwizard/template-common
which is where I pointed the --prefix to install into. So I am still
confused...
Sorry,
On Tue, 2003-01-28 at 09:25, Caleb Tennis wrote:
> 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@kdevelop.org with the following body:
> unsubscribe »your-email-address«
--
Glenn Hancock <ghancock@softeksoftware.com>
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.1.5">
</HEAD>
<BODY>
<FONT SIZE="3">Caleb,</FONT><BR>
<BR>
Ok, I see what folders your talking about and have revied the path, however, it \
pointed to /usr/local/kdev/share/apps/kdevappwizard/template-common<BR> <BR>
which is where I pointed the --prefix to install into. So I am still \
confused...<BR> <BR>
Sorry,<BR>
<BR>
<BR>
On Tue, 2003-01-28 at 09:25, Caleb Tennis wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373" SIZE="3"><I>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@kdevelop.org with the \
following body: unsubscribe »your-email-address«</I></FONT></PRE>
</BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Glenn Hancock <<A \
HREF="mailto:ghancock@softeksoftware.com">ghancock@softeksoftware.com</A>> </TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>
-
to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:
unsubscribe »your-email-address«
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic