No subject


Mon Dec 15 09:51:36 EST 2008


/usr/src/hotwire-0.2.3;
and /usr/src/hotwire-0.2.3/CMakeLists.txt exists

BUILD/CMakeLists.txt does not, and it's not supposed to, however the error
shows that cmake is looking in BUILD for the CMakeLists.txt file, even
though I have told it to look in the parent (..) directory.

Any suggestions?

Nima


-- 
Nima Talebiw: http://ai.autonomy.net.au/
p: +61-4-0667-7607  m: nima at autonomy.net.au

--000e0cd2e12c4ddeb40461fea968
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi all,<div><br></div><div>I&#39;m having trouble understanding what the pr=
oblem is here...</div><div><br></div><div>This is the relevant part of the =
make process (which calls cmake in producing a debian package)...</div><div=
>
<br></div><div><div><span class=3D"Apple-style-span" style=3D"font-family: =
&#39;courier new&#39;, monospace;"><span class=3D"Apple-style-span" style=
=3D"font-weight: bold;">echo `pwd`</span></span></div><div><span class=3D"A=
pple-style-span" style=3D"font-family: &#39;courier new&#39;, monospace;"><=
span class=3D"Apple-style-span" style=3D"font-weight: bold;">/usr/src/hotwi=
re-0.2.3</span></span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: &#39;courier ne=
w&#39;, monospace;"><span class=3D"Apple-style-span" style=3D"font-weight: =
bold;"><span class=3D"Apple-style-span" style=3D"color: rgb(255, 0, 0);">cd=
 BUILD;</span> cmake <span class=3D"Apple-style-span" style=3D"color: rgb(0=
, 102, 0);">-DBUILD=3DRelease -DPREFIX=3DSTAGING -DWEBDIR=3Dusr/share/hotwi=
re-irbd-common/sfweb -DDOCDIR=3Dusr/share/doc/hotwire-irbd-doc -DBAKDIR=3Dv=
ar/backups -DSRVDIR=3Dsrv/hotwire-irbd -DETCDIR=3Detc/hotwire-irbd -DMANDIR=
=3Dman -DLIBDIR=3Dusr/lib/hotwire-irbd -DLOGDIR=3Dvar/log/hotwire-irbd -DLO=
CKDIR=3Dvar/lock/hotwire-irbd -DCACHEDIR=3Dvar/cache/hotwire-irbd -DSHAREDI=
R=3Dusr/share/hotwire-irbd-common -DBINDIR=3Dusr/bin -DSBINDIR=3Dusr/sbin -=
DABS_SFFW_DIR=3D/opt/symfony -DONLY=3DHOTWIRE_INDEP;HOTWIRE_DOC;FUNCWIRE_OV=
ERLORD;FUNCWIRE_MINION -DDIST=3D1</span> <span class=3D"Apple-style-span" s=
tyle=3D"color: rgb(255, 0, 0);">..</span></span></span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: &#39;courier ne=
w&#39;, monospace;"><span class=3D"Apple-style-span" style=3D"font-weight: =
bold;"><span class=3D"Apple-style-span" style=3D"color: rgb(153, 51, 0);">C=
Make Error: The source directory &quot;/usr/src/hotwire-0.2.3/BUILD&quot; d=
oes not appear to contain CMakeLists.txt.</span></span></span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: &#39;courier ne=
w&#39;, monospace;">Specify --help for usage, or press the help button on t=
he CMake GUI.</span></div><div><span class=3D"Apple-style-span" style=3D"fo=
nt-family: &#39;courier new&#39;, monospace;">/bin/sh: HOTWIRE_DOC: command=
 not found</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: &#39;courier ne=
w&#39;, monospace;">/bin/sh: FUNCWIRE_OVERLORD: command not found</span></d=
iv><div><span class=3D"Apple-style-span" style=3D"font-family: &#39;courier=
 new&#39;, monospace;">/bin/sh: FUNCWIRE_MINION: command not found</span></=
div>
<div><span class=3D"Apple-style-span" style=3D"font-family: &#39;courier ne=
w&#39;, monospace;">make[1]: *** [build-indep] Error 127</span></div><div><=
span class=3D"Apple-style-span" style=3D"font-family: &#39;courier new&#39;=
, monospace;">make[1]: Leaving directory `/usr/src/hotwire-0.2.3&#39;</span=
></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: &#39;courier ne=
w&#39;, monospace;">dpkg-buildpackage: failure: debian/rules build gave err=
or exit status 2</span></div><div><span class=3D"Apple-style-span" style=3D=
"font-family: &#39;courier new&#39;, monospace;">make: *** [../BUILD/i386/h=
otwire-irbd_0.2.3-1.dsc] Error 2</span></div>
<div><br></div><div>Notice that I <span class=3D"Apple-style-span" style=3D=
"font-weight: bold;">cd</span> into the <span class=3D"Apple-style-span" st=
yle=3D"font-weight: bold;">BUILD</span> directory, and from there, I <span =
class=3D"Apple-style-span" style=3D"font-weight: bold;">cmake </span><span =
class=3D"Apple-style-span" style=3D"color: rgb(0, 102, 0);"><span class=3D"=
Apple-style-span" style=3D"font-weight: bold;">&lt;options&gt;</span><span =
class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 0); "><span class=3D"A=
pple-style-span" style=3D"font-weight: bold;">&nbsp;</span></span><span cla=
ss=3D"Apple-style-span" style=3D"color: rgb(204, 0, 0);"><span class=3D"App=
le-style-span" style=3D"font-weight: bold;">..</span></span></span></div>
</div><div><br></div><div>From the pwd, you can see that I am running the p=
rocess from&nbsp;<span class=3D"Apple-style-span" style=3D"font-family: &#3=
9;courier new&#39;; font-size: 12px; "><span class=3D"Apple-style-span" sty=
le=3D"font-weight: bold;">/usr/src/hotwire-0.2.3;</span></span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: &#39;courier ne=
w&#39;; font-size: 12px; font-weight: bold; "><span class=3D"Apple-style-sp=
an" style=3D"font-family: arial; font-size: 13px; font-weight: normal; ">an=
d</span>&nbsp;/usr/src/hotwire-0.2.3/CMakeLists.txt&nbsp;<span class=3D"App=
le-style-span" style=3D"font-family: arial; font-size: 13px; font-weight: n=
ormal; ">exists</span></span></div>
<div><br></div><div>BUILD/CMakeLists.txt does not, and it&#39;s not suppose=
d to, however the error shows that cmake is looking in BUILD for the CMakeL=
ists.txt file, even though I have told it to look in the parent (..) direct=
ory.</div>
<div><br></div><div>Any suggestions?</div><div><br></div><div>Nima&nbsp;</d=
iv><div><br></div><div><br></div><div>-- <br>Nima Talebiw: <a href=3D"http:=
//ai.autonomy.net.au/">http://ai.autonomy.net.au/</a> &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>p: +61-4-0667-7607 &nbs=
p;m: <a href=3D"mailto:nima at autonomy.net.au">nima at autonomy.net.au</a><br>

</div>

--000e0cd2e12c4ddeb40461fea968--


More information about the CMake mailing list