You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I just set up latest Erlang, but found 2 problems …
libopenssl-devel vs openssl-devel
WARNING: It appears a required development package 'openssl-devel' is not installed.
which comes from ~/.asdf/plugins/erlang/kerl (lines 370-388):
_rpm_is_installed() {
rpm --quiet -q "$1">/dev/null 2>&1
}
_check_rpm() {
required='openssl-develmakeautomakeautoconfncurses-develgcc'forpkgin$required;doif! _rpm_is_installed "$pkg";thenecho"WARNING: It appears a required development package '$pkg' is not installed."fidone
}
Let me show you my output:
$ rpm -q openssl-devel
pakiet openssl-devel nie jest zainstalowany
# message in Polish that such package is not installed
$ rpm -q libopenssl-devel
libopenssl-devel-1.1.1c-1.1.noarch
For some distributions there might be different package names which is really confusing for developers, but also such warning is really confusing to end-users.
…
checking for odbc in standard locations... no
checking if we can add -Werror=return-type to CFLAGS (via CFLAGS)... yes
configure: creating ./config.status
config.status: creating c_src/x86_64-unknown-linux-gnu/Makefile
configure: WARNING: No odbc library found skipping odbc
configure: WARNING: "ODBC library - header check failed"
configure: WARNING: "ODBC library - link check failed"
…
The problem here is that I have installed all required packages i.e. libiodbc3, libltdl-devel (provided by libtool package) and unixODBC. Most probably I have missed something, but I was looking for it and of course tried to google it, but there are not much results for openSUSE.
The text was updated successfully, but these errors were encountered:
That code you found that looks for openssl-devel is in https://github.com/kerl/kerl. asdf-erlang uses kerl underneath. It looks like it just checks for a list of packages, so it may take some work to get it working on OpenSUSE. I'm sure they would welcome the contribution over there though.
As for odbc, I'm not sure why it didn't find it. Did you install the equivalent of unixodbc-dev for your system?
@Stratus3D Thanks for your reply! I'm recompiling Erlang now, but I can already see that odbc is not in list of disabled applications. The problem was that in YaST Software Manager I have unchecked option: Show -devel packages F7 and I simply did not saw it. 😄
I will create an issue on project you have linked, so this one could be closed.
Hey, I just set up latest
Erlang
, but found 2 problems …libopenssl-devel
vsopenssl-devel
which comes from
~/.asdf/plugins/erlang/kerl
(lines370
-388
):Let me show you my output:
For some distributions there might be different package names which is really confusing for developers, but also such warning is really confusing to end-users.
The
odbc
applicationLog file:
The problem here is that I have installed all required packages i.e.
libiodbc3
,libltdl-devel
(provided bylibtool
package) andunixODBC
. Most probably I have missed something, but I was looking for it and of course tried to google it, but there are not much results for openSUSE.The text was updated successfully, but these errors were encountered: