Debian This forum is for the discussion of Debian Linux.
|
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
09-29-2006, 07:27 AM
|
#1
|
|
Member
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336
Rep:
|
application install doesn't see ncurses or openssl... why?!
I've tried this 394934 times. I installed libncurses5 and libncurses5-devel as well as openssl from source and from apt-get.
Here is what I have right now:
Code:
$ apt-cache policy libncurses5
libncurses5:
Installed: 5.4-4
Candidate: 5.4-4
Version Table:
*** 5.4-4 0
500 http://ftp.de.debian.org stable/main Packages
100 /var/lib/dpkg/status
$ apt-cache policy openssl
openssl:
Installed: 0.9.7e-3sarge2
Candidate: 0.9.7e-3sarge2
Version Table:
*** 0.9.7e-3sarge2 0
500 http://security.debian.org stable/updates/main Packages
100 /var/lib/dpkg/status
0.9.7e-3sarge1 0
500 http://ftp.de.debian.org stable/main Packages
The application requires SSL, and when I try "make menuconfig," I get the following:
Code:
SSL-Support: No openssl found. Get openssl at www.openssl.org
Creating Makefile[*] Creating Menu, please wait.
This needs the ncurses library. If it is not available, menuconf wont work. If you are using curses, use make menuconfig-curses instead.
make: *** [menuconfig] Error 1
I'm not sure why this is happening but I've literally spent days on this problem and have had no results. Please advise.
|
|
|
|
09-29-2006, 07:38 AM
|
#2
|
|
Senior Member
Registered: Dec 2005
Posts: 1,632
Rep: 
|
Your question was: why? Well, I don't know. It would help if you state what application you're trying to install. Did you read the man pages to find if there is a way to specify the full path to SSL and ncurses?
|
|
|
|
09-29-2006, 07:41 AM
|
#3
|
|
Member
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336
Original Poster
Rep:
|
I just tried a later version (latest) and it still doesn't show openssl.
The code itself looks for openssl in the following locations. I've confirmed it's in two of those.
Code:
#ifndef SSLPATH
char *sslblist[]={
"/bin/openssl",
"/usr/bin/openssl",
"/usr/sbin/openssl",
"/usr/local/bin/openssl",
"/usr/local/ssl/bin/openssl",
NULL
};
An openssl executable is in both /usr/bin/openssl and /usr/local/ssl/bin/openssl.
The applications is psyBNC. I'm trying to fix this for a friend; I'm not a Debian user in general.
|
|
|
|
09-29-2006, 10:10 AM
|
#4
|
|
Senior Member
Registered: Dec 2005
Posts: 1,632
Rep: 
|
In that case I'm just as confused as you are. Maybe contact the authors of psyBNC for their advise?
|
|
|
|
09-29-2006, 10:55 AM
|
#5
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
You need libssl-dev or at least that is what it is called on testing/unstable if not the same in stable use apt-cache search ssl dev to find it. If you don't have the configured kernel source tree on this machine then you are also going to need the kernel-headers package for the running kernel installed along with the module-assistant package to use the m-a prepare command to get the headers linked properly and then hopefully the source compile only needs the headers to actually compile properly.
|
|
|
|
09-30-2006, 06:37 PM
|
#6
|
|
Member
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336
Original Poster
Rep:
|
Quote:
|
Originally Posted by HappyTux
You need libssl-dev or at least that is what it is called on testing/unstable if not the same in stable use apt-cache search ssl dev to find it. If you don't have the configured kernel source tree on this machine then you are also going to need the kernel-headers package for the running kernel installed along with the module-assistant package to use the m-a prepare command to get the headers linked properly and then hopefully the source compile only needs the headers to actually compile properly.
|
I'm not sure what you mean. As far as I can tell, I already have that:
Code:
# apt-cache policy libssl-dev
libssl-dev:
Installed: 0.9.7e-3sarge2
Candidate: 0.9.7e-3sarge2
Version Table:
*** 0.9.7e-3sarge2 0
500 http://security.debian.org stable/updates/main Packages
100 /var/lib/dpkg/status
0.9.7e-3sarge1 0
500 http://ftp.de.debian.org stable/main Packages
|
|
|
|
09-30-2006, 06:55 PM
|
#7
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
Quote:
|
Originally Posted by punt
I'm not sure what you mean. As far as I can tell, I already have that:
Code:
# apt-cache policy libssl-dev
libssl-dev:
Installed: 0.9.7e-3sarge2
Candidate: 0.9.7e-3sarge2
Version Table:
*** 0.9.7e-3sarge2 0
500 http://security.debian.org stable/updates/main Packages
100 /var/lib/dpkg/status
0.9.7e-3sarge1 0
500 http://ftp.de.debian.org stable/main Packages
|
Weird indeed you certainly do have them installed even stranger I just downloaded then tried the menuconfig here on my system and it works fine. Now I run a testing/unstable mixed system but I can't see that making much difference. One thing as it says in the README file is edit the config.h file then just use make to compile directly might be worth a try.
Code:
[08:47 PM Sat Sep 30: stephen @ ~/archives/tar/psybnc]
>$ make menuconfig
Initializing Menu-Configuration[*] Running Conversion Tool for older psyBNC Data.[*] Running Autoconfig.
System: Linux
Socket Libs: Internal.
Environment: Internal.
Time-Headers: in time.h and sys/time.h
Byte order: Big Endian.
IPv6-Support: Yes, general support. But no interface configured.
async-DNS-Support: Yes.
SSL-Support: Yes.
Creating Makefile
Random Seed created.[*] Creating Menu, please wait.
This needs the ncurses library. If it is not available, menuconf wont work. If you are using curses, use make menuconfig-curses instead.
Now compile psyBNC using make, if not yet compiled, or if Options were changed.
done.
|
|
|
|
09-30-2006, 08:20 PM
|
#8
|
|
Member
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336
Original Poster
Rep:
|
yeah, still says that SSL is not installed for me.... 
|
|
|
|
09-30-2006, 08:47 PM
|
#9
|
|
Member
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336
Original Poster
Rep:
|
I've been trying to fix this for months now... is there *anything* else I can try? 
|
|
|
|
09-30-2006, 08:56 PM
|
#10
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
Quote:
|
Originally Posted by punt
I've been trying to fix this for months now... is there *anything* else I can try? 
|
You have tried the editing of the config.h then make? I so and it still gives you the errors then I don't think I have any more ideas other than looking at the website and see if they having a mailing list or something similar for support.
|
|
|
|
09-30-2006, 09:49 PM
|
#11
|
|
Member
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336
Original Poster
Rep:
|
HappyTux, I'm really not sure what to add in config.h... maybe that's where I'm stuck.
|
|
|
|
09-30-2006, 10:12 PM
|
#12
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
Quote:
|
Originally Posted by punt
HappyTux, I'm really not sure what to add in config.h... maybe that's where I'm stuck.
|
Well I looked into the file and there just seems to be a bunch of default values so I ran the make it compiles fairly quickly then at the end it starts to ask some questions, you may as well go ahead and run the make to see what it does the worst that can happen is it fails.
Code:
*** GENERATING SSL-KEYS FROM CERTIFICATE **
* You will be prompted for Cert-Contents *
* This Infos will be used only for SSL *
* Alter the informations to your values *
* for the sake of correct Cert-Checking *
*******************************************
Generating certificate request ..
Generating a 2048 bit RSA private key
............................................+++
............................................................................................................+++
writing new private key to 'key/psybnc.key.pem'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name [DE]:
Edit: Here is the config.h that was here in case your file does not work.
Code:
/*
* Configuration file for psyBNC, created by menuconf
*/
/* Encryption */
#define CRYPT
/* Encryption Type*/
#define BLOWFISH
/* Allow Translation */
#define TRANSLATE
/* Allow internal network */
#define INTNET
/* Allow traffic logging */
#define TRAFFICLOG
/* Allow linkage of bouncers */
#define LINKAGE
/* Allow the dcc File-Functions */
#define DCCFILES
/* Pipe dcc Chats */
#define DCCCHAT
/* Allow to add more users */
#define MULTIUSER
/* Number of max. Users */
#define MAXUSER 50
/* Number of max. Connections per User */
#define MAXCONN 99
/* Allow the usage of scripts */
#define SCRIPTING
/* Use blocking DNS */
#define BLOCKDNS
/* Allow multiple irc connections per user */
#define NETWORK
/* Allow Proxy Support */
#define PROXYS
/* The logging level */
#define LOGLEVEL 0
/* SSL-Security */
#define SSLSEC 2
Last edited by HappyTux; 09-30-2006 at 10:14 PM.
|
|
|
|
09-30-2006, 10:14 PM
|
#13
|
|
Member
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336
Original Poster
Rep:
|
HappyTux, I've already done that -- menuconfig works too now. It works but SSL support doesn't work because it never found SSL to begin with. SSL support is critical.
So what do I do?
|
|
|
|
09-30-2006, 10:26 PM
|
#14
|
|
Member
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336
Original Poster
Rep:
|
This is a perfeclty fine working file too, and I can execute it as a normal user:
Code:
/* The Path to SSL */
#define SSLPATH "/usr/bin/openssl/"
/* SSL-Security */
#define SSLSEC 2
/usr/bin/openssl exists. make just isn't finding it
Edit: I changed it to /usr/bin:
Code:
SSL-Support: Yes, but no openssl binary found in "/usr/bin/".Creating Makefile
$ which openssl
/usr/bin/openssl
  
Last edited by punt; 09-30-2006 at 10:35 PM.
|
|
|
|
09-30-2006, 10:35 PM
|
#15
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
Quote:
|
Originally Posted by punt
This is a perfeclty fine working file too, and I can execute it as a normal user:
Code:
/* The Path to SSL */
#define SSLPATH "/usr/bin/openssl/"
/* SSL-Security */
#define SSLSEC 2
/usr/bin/openssl exists. make just isn't finding it 
|
That is the binary location not the -dev files so try /usr/include/openssl/ that is where the headers files needed for compiling should be.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:48 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|