<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/pdv/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/pdv/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 08 Jul 2003 01:02:24 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pdv/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>configure.in and makefile.am fixes</title><link>https://sourceforge.net/p/pdv/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;configure.in has this bit of code: &lt;br /&gt;
AC_ARG_WITH(x, build with X11 utilities, no_x=yes, no_x=no) &lt;br /&gt;
this incorrectly uses the AC_ARG_WITH macro ... the format of the &lt;br /&gt;
macro is this: &lt;br /&gt;
AC_ARG_WITH(package, help-text, [if-given], [if-not-given]) &lt;br /&gt;
the logic currently assumes that the 3rd param is if configure is &lt;br /&gt;
given '--without-x' while the 4th param assumes that configure is &lt;br /&gt;
given '--with-x' ... the correct usage would be to detect *what* the &lt;br /&gt;
user gave via $withval in the 3rd param while the 4th param &lt;br /&gt;
specifies the default value (in this case, X will be enabled by default) &lt;br /&gt;
... if the variable was changed to 'use_x' instead of 'no_x' then &lt;br /&gt;
negation of the $withval would not be needed ... otherwise for the &lt;br /&gt;
3rd param you'll need something like this: &lt;br /&gt;
[ &amp;amp;quot;$withval&amp;amp;quot; == &amp;amp;quot;yes&amp;amp;quot; ] &amp;amp;amp;&amp;amp;amp; no_x=no || no_x=yes &lt;br /&gt;
note that this is bash style and may not work well with sh ... &lt;/p&gt;
&lt;p&gt;extra.mk has this bit of code: &lt;br /&gt;
$(INSTALL) -d $(prefix)/doc &lt;br /&gt;
it also runs many other install/rm commands on $(prefix) ... the &lt;br /&gt;
problem is that it does not prefix all paths with $(DESTDIR) ... if &lt;br /&gt;
you look through Makefile.in you will see that all operations on &lt;br /&gt;
$(prefix), $(bindir), etc... are of the form $(DESTDIR)$(prefix), &lt;br /&gt;
$(DESTDIR)$(bindir), etc... &lt;br /&gt;
so the correct form for extra.mk would be to prefix all paths with &lt;br /&gt;
$(DESTDIR) :) &lt;/p&gt;
&lt;p&gt;my contact: vapier@gentoo.org &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 08 Jul 2003 01:02:24 -0000</pubDate><guid>https://sourceforge.neta9b9994dafdd4e9ab0a89c897a7987487092ab7b</guid></item><item><title>src.rpm fails to build</title><link>https://sourceforge.net/p/pdv/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;$ rpm --rebuild pdv-1.5.1-1.src.rpm&lt;br /&gt;
...&lt;br /&gt;
/usr/src/redhat/BUILD/pdv-1.5.1&lt;br /&gt;
+ make install&lt;br /&gt;
Making install in .&lt;br /&gt;
make[1]: Entering directory&lt;br /&gt;
`/usr/src/redhat/BUILD/pdv-1.5.1'&lt;br /&gt;
make[2]: Entering directory&lt;br /&gt;
`/usr/src/redhat/BUILD/pdv-1.5.1'&lt;br /&gt;
/bin/sh ./mkinstalldirs /usr/local/bin&lt;br /&gt;
./install-sh  pdv /usr/local/bin/pdv&lt;br /&gt;
cp: cannot create regular file&lt;br /&gt;
`/usr/local/bin/#inst.24369#': Permission denied&lt;br /&gt;
./install-sh  pdvmkpkg /usr/local/bin/pdvmkpkg&lt;br /&gt;
cp: cannot create regular file&lt;br /&gt;
`/usr/local/bin/#inst.24385#': Permission denied&lt;br /&gt;
make[2]: *** [install-binPROGRAMS] Error 1&lt;br /&gt;
make[1]: *** [install-am] Error 2&lt;br /&gt;
make: *** [install-recursive] Error 1&lt;br /&gt;
error: Bad exit status from /var/tmp/rpm-tmp.74015&lt;br /&gt;
(%install)&lt;br /&gt;
Bad exit status from /var/tmp/rpm-tmp.74015 (%install)&lt;br /&gt;
make[2]: Leaving directory&lt;br /&gt;
`/usr/src/redhat/BUILD/pdv-1.5.1'&lt;br /&gt;
make[1]: Leaving directory&lt;br /&gt;
`/usr/src/redhat/BUILD/pdv-1.5.1'&lt;/p&gt;
&lt;p&gt;-----&lt;/p&gt;
&lt;p&gt;It is probably caused by a missing buildroot.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 09 May 2002 15:04:07 -0000</pubDate><guid>https://sourceforge.netdc57560cb80cf2054685f6c85ef939e7116221a9</guid></item><item><title>shell command can not execlp</title><link>https://sourceforge.net/p/pdv/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Anything string other than a single executable supplied with the &amp;amp;quot;-e&amp;amp;quot; switch will not properly execute.  Would be better to use system() to support aribtrary command lines.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Glen Wiley</dc:creator><pubDate>Mon, 06 Mar 2000 18:20:30 -0000</pubDate><guid>https://sourceforge.net1a315bb466b3194424e0cabc27a827b446df03fd</guid></item></channel></rss>