Skip to contentSkip to conversation

doc: README.mxs: Add instruction to install 'libssl-dev'

PATCH Superseded Fabio Estevam 4 participants 7 messages Sep 16, 2013 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v2 1/1 doc: README.mxs: Add instruction to install 'libssl-dev'

From: Fabio Estevam <[email protected]>

Since commit bce883707 (ARM: mxs: tools: Add mkimage support for MXS bootstream) the following build error is seen when doing a MAKEALL build:

$ ./MAKEALL mx28evk
Configuring for mx28evk - Board: mx28evk, Options: ENV_IS_IN_MMC
mxsimage.c:18:25: fatal error: openssl/evp.h: No such file or directory

Add an entry about the need of installing the 'libssl-dev' package.

---
Changes since v1:
- Do not remove the 'elftosb' text.

 doc/README.mxs | 5 +++++
 1 file changed, 5 insertions(+)
doc/README.mxs +5 -0
index 5d9e72f..1e5bc5c 100644
@@ -63,6 +63,11 @@ copy the binary by hand:
 Make sure the "elftosb" binary can be found in your $PATH, in this case this
 means "/usr/local/bin/" has to be in your $PATH.
 
+Install the 'libssl-dev' package as well. On a Ubuntu-based distribution, this
+package can be installed as follows:
+
+	$ sudo apt-get install libssl-dev
+
 2) Compiling U-Boot for a MXS based board
 -------------------------------------------
 
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH v2 1/1 doc: README.mxs: Add instruction to install 'libssl-dev'

Dear Fabio Estevam,

Quoted 29 lines

From: Fabio Estevam <[email protected]>

Since commit bce883707 (ARM: mxs: tools: Add mkimage support for MXS bootstream) the following build error is seen when doing a MAKEALL build:

$ ./MAKEALL mx28evk
Configuring for mx28evk - Board: mx28evk, Options: ENV_IS_IN_MMC
mxsimage.c:18:25: fatal error: openssl/evp.h: No such file or directory

Add an entry about the need of installing the 'libssl-dev' package.

---
Changes since v1:
- Do not remove the 'elftosb' text.

 doc/README.mxs | 5 +++++
 1 file changed, 5 insertions(+)
doc/README.mxs +0 -0
index 5d9e72f..1e5bc5c 100644
@@ -63,6 +63,11 @@ copy the binary by hand:
 Make sure the "elftosb" binary can be found in your $PATH, in this case

this means "/usr/local/bin/" has to be in your $PATH.

+Install the 'libssl-dev' package as well. On a Ubuntu-based distribution, this +package can be installed as follows:

doc/README.mxs copy the binary by hand: · line 70

Quoted 3 lines
doc/README.mxs +3 -0
+
+	$ sudo apt-get install libssl-dev
+

Since when is Ubuntu not a Debian based distro ? :-( I think you should stick with the roots here, use Debian.

Quoted 2 lines

2) Compiling U-Boot for a MXS based board
-------------------------------------------

Best regards,
Marek Vasut

author reviewer
#2 lore raw

PATCH v2 1/1 doc: README.mxs: Add instruction to install 'libssl-dev'

Quoted 2 lines · Marek Vasut

Since when is Ubuntu not a Debian based distro ? :-( I think you should stick with the roots here, use Debian.

Yes, I wrote "Debian-based" in v1. The change here was not on purpose, so I can fix it in v3.

Actually, I have been thinking about this fix: wouldn't it be better to copy the 'openssl/evp.h' header into U-boot tool directory to avoid people getting failures with MAKEALL if they do not have libssl-dev installed?

#3 lore raw

PATCH v2 1/1 doc: README.mxs: Add instruction to install 'libssl-dev'

Dear Fabio Estevam,

Quoted 11 lines · Marek Vasut
Quoted 2 lines

Since when is Ubuntu not a Debian based distro ? :-( I think you should stick with the roots here, use Debian.

Yes, I wrote "Debian-based" in v1. The change here was not on purpose, so I can fix it in v3.

Actually, I have been thinking about this fix: wouldn't it be better to copy the 'openssl/evp.h' header into U-boot tool directory to avoid people getting failures with MAKEALL if they do not have libssl-dev installed?

No, because they won't be able to link without the dev package anyway.

Best regards,
Marek Vasut

#4 lore raw

PATCH v2 1/1 doc: README.mxs: Add instruction to install 'libssl-dev'

In reply to Fabio Estevam
Quoted 5 lines · Fabio Estevam
Quoted 2 lines · Marek Vasut

Since when is Ubuntu not a Debian based distro ? :-( I think you should stick with the roots here, use Debian.

Quoted 8 lines

Yes, I wrote "Debian-based" in v1. The change here was not on purpose, so I can fix it in v3.

Actually, I have been thinking about this fix: wouldn't it be better to copy the 'openssl/evp.h' header into U-boot tool directory to avoid people getting failures with MAKEALL if they do not have libssl-dev installed?

I disagree : it is not different if another include file is missing, or the host is not installed. Then the hint is to install build-essential (Ubuntu) or all packages, not to move them inside u-boot.

Regards,
Stefano

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#5 lore raw

PATCH v2 1/1 doc: README.mxs: Add instruction to install 'libssl-dev'

Dear Stefano Babic,

Quoted 8 lines · Fabio Estevam
Quoted 7 lines · Marek Vasut
Quoted 2 lines

Since when is Ubuntu not a Debian based distro ? :-( I think you should stick with the roots here, use Debian.

Yes, I wrote "Debian-based" in v1. The change here was not on purpose, so I can fix it in v3.

Quoted 8 lines
Quoted 4 lines

Actually, I have been thinking about this fix: wouldn't it be better to copy the 'openssl/evp.h' header into U-boot tool directory to avoid people getting failures with MAKEALL if they do not have libssl-dev installed?

I disagree : it is not different if another include file is missing, or the host is not installed. Then the hint is to install build-essential (Ubuntu) or all packages, not to move them inside u-boot.

Hey, build-essential is also Debian (lol) ! ;-)

Best regards,
Marek Vasut

#6 lore raw

PATCH v2 1/1 doc: README.mxs: Add instruction to install 'libssl-dev'

Quoted 15 lines · Marek Vasut

Dear Stefano Babic,

Quoted 13 lines · Fabio Estevam
Quoted 11 lines · Marek Vasut
Quoted 2 lines

Since when is Ubuntu not a Debian based distro ? :-( I think you should stick with the roots here, use Debian.

Yes, I wrote "Debian-based" in v1. The change here was not on purpose, so I can fix it in v3.

Actually, I have been thinking about this fix: wouldn't it be better to copy the 'openssl/evp.h' header into U-boot tool directory to avoid people getting failures with MAKEALL if they do not have libssl-dev installed?

Quoted 5 lines
Quoted 3 lines

I disagree : it is not different if another include file is missing, or the host is not installed. Then the hint is to install build-essential (Ubuntu) or all packages, not to move them inside u-boot.

Hey, build-essential is also Debian (lol) ! ;-)

Debian +1 :-)

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750