Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I download the dkim-milter-2.8.3, and try to compile it.Then Build and install it ("sh Build" and "sh Build install")but I got the error message:
code:
make[1]:*** [depend] Error 127
make[1]:cc:command not found
make[1]*** [ar.o] Error 127
make:*** [all] Error 2
Can anyone help me?
Thanks very much
By the way,the OS is RdeHat 4.4.4-2
I took the command:yum groupinstall Development Tools but getting the error message:
"Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. please verify its path and try again."
and post it.
this will redirect all non-error output to the bitbucket. That way we can see what errors make is throwing because im positive somewhere up there its throwing more errors than just 'make ***' or whatever it is
[root@mail dkim-milter-2.8.3]# sh Build
Making all in:
/home/ytang/Downloads/dkim-milter-2.8.3/libar
Configuration: pfx=, os=Linux, rel=2.6.33.3-85.fc13.x86_64, rbase=2, rroot=2.6.33.3-85.fc13, arch=x86_64, sfx=, variant=optimized
Making in /home/ytang/Downloads/dkim-milter-2.8.3/obj.Linux.2.6.33.3-85.fc13.x86_64.x86_64/libar
make[1]: Entering directory `/home/ytang/Downloads/dkim-milter-2.8.3/obj.Linux.2.6.33.3-85.fc13.x86_64.x86_64/libar'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ytang/Downloads/dkim-milter-2.8.3/obj.Linux.2.6.33.3-85.fc13.x86_64.x86_64/libar'
Making all in:
/home/ytang/Downloads/dkim-milter-2.8.3/libdkim
Configuration: pfx=, os=Linux, rel=2.6.33.3-85.fc13.x86_64, rbase=2, rroot=2.6.33.3-85.fc13, arch=x86_64, sfx=, variant=optimized
Making in /home/ytang/Downloads/dkim-milter-2.8.3/obj.Linux.2.6.33.3-85.fc13.x86_64.x86_64/libdkim
make[1]: Entering directory `/home/ytang/Downloads/dkim-milter-2.8.3/obj.Linux.2.6.33.3-85.fc13.x86_64.x86_64/libdkim'
cc -O2 -I. -I../../include -D_REENTRANT -DXP_MT -c -o dkim.o dkim.c
dkim.c:50:30: error: openssl/opensslv.h: No such file or directory
dkim.c:51:25: error: openssl/pem.h: No such file or directory
dkim.c:52:25: error: openssl/rsa.h: No such file or directory
dkim.c:53:25: error: openssl/bio.h: No such file or directory
dkim.c:54:25: error: openssl/err.h: No such file or directory
dkim.c:55:25: error: openssl/sha.h: No such file or directory
In file included from dkim.c:59:
dkim-types.h:137: error: expected specifier-qualifier-list before ‘BIO’
dkim-types.h:182: error: expected specifier-qualifier-list before ‘EVP_PKEY’
dkim.c: In function ‘dkim_process_set’:
dkim.c:697: error: ‘errno’ undeclared (first use in this function)
dkim.c:697: error: (Each undeclared identifier is reported only once
dkim.c:697: error: for each function it appears in.)
dkim.c:701: error: ‘ERANGE’ undeclared (first use in this function)
dkim.c:706: error: ‘EINVAL’ undeclared (first use in this function)
dkim.c: In function ‘dkim_siglist_setup’:
dkim.c:1822: error: ‘errno’ undeclared (first use in this function)
dkim.c:1825: error: ‘ERANGE’ undeclared (first use in this function)
dkim.c: In function ‘dkim_eom_sign’:
dkim.c:3136: error: ‘BIO’ undeclared (first use in this function)
dkim.c:3136: error: ‘key’ undeclared (first use in this function)
dkim.c:3210: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:3212: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:3219: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3219: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:3220: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3227: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3228: error: ‘RSA_PKCS1_PADDING’ undeclared (first use in this function)
dkim.c:3229: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c:3230: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c:3234: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3235: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3296: error: ‘NID_sha1’ undeclared (first use in this function)
dkim.c:3304: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c:3304: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3307: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3308: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3318: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c: In function ‘dkim_error’:
dkim.c:3817: error: ‘errno’ undeclared (first use in this function)
dkim.c: In function ‘dkim_free’:
dkim.c:4249: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:4249: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:4249: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:4250: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4250: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4250: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4251: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c:4251: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c:4251: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c: In function ‘dkim_sig_process’:
dkim.c:4680: error: ‘BIO’ undeclared (first use in this function)
dkim.c:4680: error: ‘key’ undeclared (first use in this function)
dkim.c:4776: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:4777: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:4790: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4790: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:4791: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4804: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4805: error: ‘RSA_PKCS1_PADDING’ undeclared (first use in this function)
dkim.c:4807: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsain’
dkim.c:4812: error: ‘NID_sha1’ undeclared (first use in this function)
dkim.c:4819: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsain’
dkim.c:4820: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4829: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4830: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c: In function ‘dkim_ssl_version’:
dkim.c:7065: error: ‘OPENSSL_VERSION_NUMBER’ undeclared (first use in this function)
make[1]: *** [dkim.o] Error 1
make[1]: Leaving directory `/home/ytang/Downloads/dkim-milter-2.8.3/obj.Linux.2.6.33.3-85.fc13.x86_64.x86_64/libdkim'
make: *** [all] Error 2
and post it.
this will redirect all non-error output to the bitbucket. That way we can see what errors make is throwing because im positive somewhere up there its throwing more errors than just 'make ***' or whatever it is
Below are all message after running "sh Build > /dev/null"
Quote:
[root@mail dkim-milter-2.8.3]# sh Build > /dev/null
dkim.c:50:30: error: openssl/opensslv.h: No such file or directory
dkim.c:51:25: error: openssl/pem.h: No such file or directory
dkim.c:52:25: error: openssl/rsa.h: No such file or directory
dkim.c:53:25: error: openssl/bio.h: No such file or directory
dkim.c:54:25: error: openssl/err.h: No such file or directory
dkim.c:55:25: error: openssl/sha.h: No such file or directory
In file included from dkim.c:59:
dkim-types.h:137: error: expected specifier-qualifier-list before ‘BIO’
dkim-types.h:182: error: expected specifier-qualifier-list before ‘EVP_PKEY’
dkim.c: In function ‘dkim_process_set’:
dkim.c:697: error: ‘errno’ undeclared (first use in this function)
dkim.c:697: error: (Each undeclared identifier is reported only once
dkim.c:697: error: for each function it appears in.)
dkim.c:701: error: ‘ERANGE’ undeclared (first use in this function)
dkim.c:706: error: ‘EINVAL’ undeclared (first use in this function)
dkim.c: In function ‘dkim_siglist_setup’:
dkim.c:1822: error: ‘errno’ undeclared (first use in this function)
dkim.c:1825: error: ‘ERANGE’ undeclared (first use in this function)
dkim.c: In function ‘dkim_eom_sign’:
dkim.c:3136: error: ‘BIO’ undeclared (first use in this function)
dkim.c:3136: error: ‘key’ undeclared (first use in this function)
dkim.c:3210: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:3212: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:3219: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3219: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:3220: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3227: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3228: error: ‘RSA_PKCS1_PADDING’ undeclared (first use in this function)
dkim.c:3229: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c:3230: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c:3234: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3235: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3296: error: ‘NID_sha1’ undeclared (first use in this function)
dkim.c:3304: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c:3304: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3307: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3308: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:3318: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c: In function ‘dkim_error’:
dkim.c:3817: error: ‘errno’ undeclared (first use in this function)
dkim.c: In function ‘dkim_free’:
dkim.c:4249: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:4249: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:4249: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:4250: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4250: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4250: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4251: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c:4251: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c:4251: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsaout’
dkim.c: In function ‘dkim_sig_process’:
dkim.c:4680: error: ‘BIO’ undeclared (first use in this function)
dkim.c:4680: error: ‘key’ undeclared (first use in this function)
dkim.c:4776: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:4777: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:4790: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4790: error: ‘struct dkim_rsa’ has no member named ‘rsa_pkey’
dkim.c:4791: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4804: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4805: error: ‘RSA_PKCS1_PADDING’ undeclared (first use in this function)
dkim.c:4807: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsain’
dkim.c:4812: error: ‘NID_sha1’ undeclared (first use in this function)
dkim.c:4819: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsain’
dkim.c:4820: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4829: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c:4830: error: ‘struct dkim_rsa’ has no member named ‘rsa_rsa’
dkim.c: In function ‘dkim_ssl_version’:
dkim.c:7065: error: ‘OPENSSL_VERSION_NUMBER’ undeclared (first use in this function)
make[1]: *** [dkim.o] Error 1
make: *** [all] Error 2
dkim.c:50:30: error: openssl/opensslv.h: No such file or directory
dkim.c:51:25: error: openssl/pem.h: No such file or directory
dkim.c:52:25: error: openssl/rsa.h: No such file or directory
dkim.c:53:25: error: openssl/bio.h: No such file or directory
dkim.c:54:25: error: openssl/err.h: No such file or directory
dkim.c:55:25: error: openssl/sha.h: No such file or directory
Suggests that you need to install the openssl headers. This may be in a package called openssl-dev(el), but perhaps your distro's package management system allows you to search for files in packages?
Quote:
Originally Posted by lbbds
Below are all message after running "sh Build > /dev/null"
Can't you see that you basically made the same post twice by doing this (once in response to me and then in responding to mf93)? Please, use common sense in future.
back up everyone
the OPs system is" RdeHat 4.4.4-2
BUT the gcc-4.4.4-2.fc13 from FEDORA 13 was installed ??
you CAN not mix RHEL 4 OS with fedora 13 rpms
it is no wonder that are problems .
for RHEL install the devel tools and library's from RHN
that is why you bought a license for red hat -- to get the updates and to add software to the older rhel4
i think the compiler in the rhn repo for RHEL4 is gcc 3.4
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.