Run in Place is the default with ./configure, so you need to add a --prefix
like Charles said in a previous email (below).  After you do this, you are
going to run into issues because if you haven't modified the control file,
it will still try and build the docs packages.

./configure --with-xenomai --with-platform=beaglebone --enable-emcweb
--with-posix --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man


Brian

-----Original Message-----
From: Mark Tucker [mailto:[email protected]] 
Sent: Tuesday, March 18, 2014 9:49 AM
To: EMC developers
Subject: Re: [Emc-developers] Deb package building on the Beaglebone

Ok i deleted the make docs line
Now i get the following:-
Which of course is not in the ./configure line.

../tmp/./usr/share/applications/linuxcnc-pncconf.desktop
../tmp/./usr/share/desktop-directories
../tmp/./usr/share/desktop-directories/cnc.directory
20 blocks
(cd src; export DESTDIR=`pwd`/../debian/tmp; /usr/bin/make install)
make[1]: Entering directory `/home/linuxcnc/linuxcnc/src'
Makefile:697: *** You configured run-in-place, but are trying to install.
For an installable version, run configure without --enable-run-in-place and
rebuild.  Stop.
make[1]: Leaving directory `/home/linuxcnc/linuxcnc/src'
make: *** [install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -d -us -uc -i -b failed

real    3m42.931s
user    2m27.293s
sys    0m36.400s
linuxcnc@beaglebone:~/linuxcnc$

On 18/03/14 13:21, Brian Morel wrote:
> I did some work with the UB3 branch to make building docs optional.  
> Take a look at the below, it might help.  If I remember, you had to 
> remove the "make docs" line in rules.in & there was also some issues 
> with the files being moved around.  I haven't updated the branch w/ 
> git.linuxcnc.org in a while, so it may be behind.
>
> github.com/brianmorel99/linuxcnc-mirror/commit/f56743b81493df634372a14
> 091d26
> b0ee9921c8f
>
> Thanks,
>
> -----Original Message-----
> From: Mark Tucker [mailto:[email protected]]
> Sent: Tuesday, March 18, 2014 9:17 AM
> To: EMC developers
> Subject: Re: [Emc-developers] Deb package building on the Beaglebone
>
> Charles
>
> I get:-
> make: Nothing to be done for `docs'
>
> On 18/03/14 13:07, Charles Steinkuehler wrote:
>> Looking at the rules file, it appears to run a make followed by a 
>> make docs.  What do you get if you run:
>>
>>     make V=1 docs
>
> ----------------------------------------------------------------------
> ------
> --
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" 
> is the definitive new guide to graph databases and their applications. 
> Written by three acclaimed leaders in the field, this first edition is now
available.
> Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>
> ----------------------------------------------------------------------
> -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>


----------------------------------------------------------------------------
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the
definitive new guide to graph databases and their applications. Written by
three acclaimed leaders in the field, this first edition is now available.
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to