This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Units and Cygport


On Fri, July 13, 2007 5:16 pm, Charles Wilson wrote:
> John Morrison wrote:
>
>> I assume that at this point I need to edit the .cygport script and
>> change
>> how the src_install() function works, but I'm at a loss and I can't find
>> sufficient information at a dumb enough level for me to work it out.
>>
>> Can anyone help?  Sorry about the long post.
>
> I suspect that the units package does not support ${DESTDIR}
> installation.  Try:
>
> USE_DESTDIR=0
> src_install() {
>          cd ${B}
>          cyginstall
>
>          make_etc_defaults /etc/cygport.conf
> }

No go...

$ cygport  units-1.86-1 install
>>> Installing units-1.86-1
/home/John/units-1.86-1/src/units-1.86/mkinstalldirs
/home/John/units-1.86-1/inst/usr/share/man/man1
/home/John/units-1.86-1/src/units-1.86/mkinstalldirs
/home/John/units-1.86-1/inst/usr/share/info
mkdir /home/John/units-1.86-1/inst/usr
mkdir /home/John/units-1.86-1/inst/usr
mkdir /home/John/units-1.86-1/inst/usr/share
mkdir: cannot create directory `/home/John/units-1.86-1/inst/usr': File
exists
mkdir /home/John/units-1.86-1/inst/usr/share
mkdir: cannot create directory `/home/John/units-1.86-1/inst/usr/share':
File exists
mkdir /home/John/units-1.86-1/inst/usr/share/info
mkdir /home/John/units-1.86-1/inst/usr/share/man
make: *** [/home/John/units-1.86-1/inst/usr/share/info/units.info] Error 1
make: *** Waiting for unfinished jobs....
mkdir /home/John/units-1.86-1/inst/usr/share/man/man1
make: *** [install-man] Error 1
*** ERROR: make install No-DESTDIR failed

Thanks... any other ideas?

J.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]