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

(below)

From: Andreas Fritiofson [mailto:[email protected]]
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://sourceforge.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://sourceforge.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 [email protected] 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.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to