[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openocd-development
Subject:    [OpenOCD-devel] [openocd:tickets] Re: #122 Search dirs not working when openocd installed to /opt.
From:       "Rick" <rickfoosusa () users ! sf ! net>
Date:       2016-03-22 20:17:44
Message-ID: /p/openocd/tickets/122/7990ebd951dc4af3afda33ea3206e161 () DAGN06B-S1E7 ! exg7 ! exghost ! local
[Download RAW message or body]

[Attachment #2 (multipart/related)]


--===============1162324702873936448==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

The GNU ARM Eclipse Linux installation recommends /opt
http://gnuarmeclipse.github.io/openocd/install/

(below)

From: Andreas Fritiofson [mailto:nattgris@users.sf.net]
Sent: Tuesday, March 22, 2016 1:58 PM
To: [openocd:tickets]
Subject: [openocd:tickets] #122 Search dirs not working when openocd installed to \
/opt.


If OpenOCD is installed to /opt, it should be configured with --prefix=/opt. If it's \
not, that's a packaging bug.

The gnuarmeclipse releases are here.

The build for debian/Windows is done with Docker.

http://gnuarmeclipse.github.io/openocd/build-procedure/

All of the linux builds come with pkgdatadir="".

The directory path of the final package isn't know at configure time, and users can \
install wherever they want.

The proposed addition to Linux is similar to Windows, solving a similar problem.

-rick



________________________________

[tickets:#122]<https://sourceforge.net/p/openocd/tickets/122/> Search dirs not \
working when openocd installed to /opt.

Status: new
Milestone: 0.9.0
Created: Fri Mar 18, 2016 09:51 PM UTC by Rick
Last Updated: Fri Mar 18, 2016 09:51 PM UTC
Owner: nobody
Attachments:

  *   0001-Search-dirs-not-working-when-openocd-installed-to-op.patch<https://sourcefo \
rge.net/p/openocd/tickets/122/attachment/0001-Search-dirs-not-working-when-openocd-installed-to-op.patch> \
(6.3 kB; text/x-patch)

When the debian versions of OpenOCD are installed to /opt, as gnuarmeclipse does, \
openocd cannot find the script files.

In src/helpers/options.c, the no path separators case sets run_prefix="".

bindir and pkgdatadir are also not set for the install location.

One solution is to add a special case for no path separators similar to Windows where \
the executable path is used to add search dirs for <openocd-path>/../scripts.

________________________________

Sent from sourceforge.net because you indicated interest in \
https://sourceforge.net/p/openocd/tickets/122/

To unsubscribe from further messages, please visit \
https://sourceforge.net/auth/subscriptions/

________________________________
No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2016.0.7497 / Virus Database: 4542/11858 - Release Date: 03/21/16



---

** [tickets:#122] Search dirs not working when openocd installed to /opt.**

**Status:** new
**Milestone:** 0.9.0
**Created:** Fri Mar 18, 2016 09:51 PM UTC by Rick
**Last Updated:** Tue Mar 22, 2016 07:04 PM UTC
**Owner:** nobody
**Attachments:**

- [0001-Search-dirs-not-working-when-openocd-installed-to-op.patch](https://sourceforg \
e.net/p/openocd/tickets/122/attachment/0001-Search-dirs-not-working-when-openocd-installed-to-op.patch) \
(6.3 kB; text/x-patch)


When the debian versions of OpenOCD are installed to /opt, as gnuarmeclipse does, \
openocd cannot find the script files.

In src/helpers/options.c, the no path separators case sets run_prefix="".

bindir and pkgdatadir are also not set for the install location.

One solution is to add a special case for no path separators similar to Windows where \
the executable path is used to add search dirs for <openocd-path>/../scripts.







---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is subscribed \
to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at \
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a mailing \
                list, you can unsubscribe from the mailing list.
--===============1162324702873936448==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit

<div class="markdown_content"><p>The GNU ARM Eclipse Linux installation recommends \
/opt<br/> <a href="http://gnuarmeclipse.github.io/openocd/install/" \
rel="nofollow">http://gnuarmeclipse.github.io/openocd/install/</a></p> <p>(below)</p>
<p>From: Andreas Fritiofson <span>[mailto:nattgris@users.sf.net]</span><br/>
Sent: Tuesday, March 22, 2016 1:58 PM<br/>
To: <span>[openocd:tickets]</span><br/>
Subject: <span>[openocd:tickets]</span> #122 Search dirs not working when openocd \
installed to /opt.</p> <p>If OpenOCD is installed to /opt, it should be configured \
with --prefix=/opt. If it's not, that's a packaging bug.</p> <p>The gnuarmeclipse \
releases are here.</p> <p>The build for debian/Windows is done with Docker.</p>
<p><a href="http://gnuarmeclipse.github.io/openocd/build-procedure/" \
rel="nofollow">http://gnuarmeclipse.github.io/openocd/build-procedure/</a></p> <p>All \
of the linux builds come with pkgdatadir="".</p> <p>The directory path of the final \
package isn't know at configure time, and users can install wherever they want.</p> \
<p>The proposed addition to Linux is similar to Windows, solving a similar \
problem.</p> <p>-rick</p>
<hr/>
<p><a class="alink" href="https://sourceforge.net/p/openocd/tickets/122/">[tickets:#122]</a><a \
href="https://sourceforge.net/p/openocd/tickets/122/">https://sourceforge.net/p/openocd/tickets/122/</a> \
Search dirs not working when openocd installed to /opt.</p> <p>Status: new<br/>
Milestone: 0.9.0<br/>
Created: Fri Mar 18, 2016 09:51 PM UTC by Rick<br/>
Last Updated: Fri Mar 18, 2016 09:51 PM UTC<br/>
Owner: nobody<br/>
Attachments:</p>
<ul>
<li>0001-Search-dirs-not-working-when-openocd-installed-to-op.patch<a \
href="https://sourceforge.net/p/openocd/tickets/122/attachment/0001-Search-dirs-not-wo \
rking-when-openocd-installed-to-op.patch">https://sourceforge.net/p/openocd/tickets/122/attachment/0001-Search-dirs-not-working-when-openocd-installed-to-op.patch</a> \
(6.3 kB; text/x-patch)</li> </ul>
<p>When the debian versions of OpenOCD are installed to /opt, as gnuarmeclipse does, \
openocd cannot find the script files.</p> <p>In src/helpers/options.c, the no path \
separators case sets run_prefix="".</p> <p>bindir and pkgdatadir are also not set for \
the install location.</p> <p>One solution is to add a special case for no path \
separators similar to Windows where the executable path is used to add search dirs \
for &lt;openocd-path&gt;/../scripts.</p> <hr/>
<p>Sent from sourceforge.net because you indicated interest in <a \
href="https://sourceforge.net/p/openocd/tickets/122/">https://sourceforge.net/p/openocd/tickets/122/</a></p>
 <p>To unsubscribe from further messages, please visit <a \
href="https://sourceforge.net/auth/subscriptions/">https://sourceforge.net/auth/subscriptions/</a></p>
 <hr/>
<p>No virus found in this message.<br/>
Checked by AVG - www.avg.com<a href="http://www.avg.com" \
                rel="nofollow">http://www.avg.com</a><br/>
Version: 2016.0.7497 / Virus Database: 4542/11858 - Release Date: 03/21/16</p>
<hr/>
<p><strong> <a class="alink" \
href="https://sourceforge.net/p/openocd/tickets/122/">[tickets:#122]</a> Search dirs \
not working when openocd installed to /opt.</strong></p> <p><strong>Status:</strong> \
new<br/> <strong>Milestone:</strong> 0.9.0<br/>
<strong>Created:</strong> Fri Mar 18, 2016 09:51 PM UTC by Rick<br/>
<strong>Last Updated:</strong> Tue Mar 22, 2016 07:04 PM UTC<br/>
<strong>Owner:</strong> nobody<br/>
<strong>Attachments:</strong></p>
<ul>
<li><a class="" href="https://sourceforge.net/p/openocd/tickets/122/attachment/0001-Se \
arch-dirs-not-working-when-openocd-installed-to-op.patch">0001-Search-dirs-not-working-when-openocd-installed-to-op.patch</a> \
(6.3 kB; text/x-patch)</li> </ul>
<p>When the debian versions of OpenOCD are installed to /opt, as gnuarmeclipse does, \
openocd cannot find the script files.</p> <p>In src/helpers/options.c, the no path \
separators case sets run_prefix="".</p> <p>bindir and pkgdatadir are also not set for \
the install location.</p> <p>One solution is to add a special case for no path \
separators similar to Windows where the executable path is used to add search dirs \
for &lt;openocd-path&gt;/../scripts.</p> <hr/>
<p>Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is \
subscribed to <a href="https://sourceforge.net/p/openocd/tickets/">https://sourceforge.net/p/openocd/tickets/</a></p>
 <p>To unsubscribe from further messages, a project admin can change settings at <a \
href="https://sourceforge.net/p/openocd/admin/tickets/options.">https://sourceforge.net/p/openocd/admin/tickets/options.</a> \
                Or, if this is a mailing list, you can unsubscribe from the mailing \
                list.</p></div>
--===============1162324702873936448==--



------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140

_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic