LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-29-2006, 07:27 AM   #1
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Rep: Reputation: 30
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.
 
Old 09-29-2006, 07:38 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
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?
 
Old 09-29-2006, 07:41 AM   #3
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
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.
 
Old 09-29-2006, 10:10 AM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
In that case I'm just as confused as you are. Maybe contact the authors of psyBNC for their advise?
 
Old 09-29-2006, 10:55 AM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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.
 
Old 09-30-2006, 06:37 PM   #6
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
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
 
Old 09-30-2006, 06:55 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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.
 
Old 09-30-2006, 08:20 PM   #8
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
yeah, still says that SSL is not installed for me....
 
Old 09-30-2006, 08:47 PM   #9
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
I've been trying to fix this for months now... is there *anything* else I can try?
 
Old 09-30-2006, 08:56 PM   #10
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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.
 
Old 09-30-2006, 09:49 PM   #11
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
HappyTux, I'm really not sure what to add in config.h... maybe that's where I'm stuck.
 
Old 09-30-2006, 10:12 PM   #12
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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.
 
Old 09-30-2006, 10:14 PM   #13
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
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?
 
Old 09-30-2006, 10:26 PM   #14
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
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.
 
Old 09-30-2006, 10:35 PM   #15
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ncurses - install problem schtevo Linux - Software 1 01-25-2006 03:38 PM
kill -9 for ncurses application problem arunka Programming 2 11-27-2005 12:09 PM
What to install for ncurses libraries? Royle Debian 2 08-21-2005 03:48 PM
Upgrading OpenSSL rpm install to a source install userini Linux - Software 3 06-05-2004 10:23 AM
ncurses-5.2-28 conflicts with file from package ncurses-5.2-12 tubby Linux - Software 4 06-16-2002 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration