VectorLinux
November 28, 2014, 11:05:37 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Re: ntp package compile error "SOLVED"  (Read 1482 times)
ddval
Member
*
Posts: 59


That's my story and I'm stuck with it.


« on: August 18, 2013, 04:22:04 pm »

An attempt to install the ntp package into VL 7.0 light.   I would  appreciate comment on my effort;

Thank you.



The Package:  ntp-4.2.6p5.tar.gz  is located in the Downloads Directory.  

I opened the package in Terminal.  Then as root  CD to ntp-4.2.6p5.tar.gz   Then  typed  ./configure

After configure completed  typed Make.  

Make generated the following error message while compiling.

/usr/lib/gcc/i486-slackware-linux/4.5.2/,,/../../../i486-slackware-linux/bin/ld: cannot find -lwrap

collect2: ld returned 1 exit status
Error 1
« Last Edit: August 19, 2013, 04:59:12 am by ddval » Logged

Cheers
Linux User 561425
roarde
Vectorian
****
Posts: 541


move the needle


« Reply #1 on: August 18, 2013, 04:52:44 pm »

ntp 4.2.6p3 is in the repos and can be installed with slapt-get or gslapt.
Logged

Robert
VL STD 7.1 RC2.3, icewmvmods
ddval
Member
*
Posts: 59


That's my story and I'm stuck with it.


« Reply #2 on: August 19, 2013, 04:58:35 am »

ntp 4.2.6p3 is in the repos and can be installed with slapt-get or gslapt.


I'm  Embarrassed

I was so caught up with the idea of compiling my first ever package,  I did not even consider that someone had gone there before me -- beam me up Scotty Grin

Once again:  thank you roared.
Logged

Cheers
Linux User 561425
roarde
Vectorian
****
Posts: 541


move the needle


« Reply #3 on: August 20, 2013, 07:10:21 pm »

Take a look at /usr/doc/ntp-4.2.6p3/ntp.SlackBuild

Pick a directory of your choosing, mkdir ntp, then mkdir ntp/src

Copy the SlackBuild to there. Edit for the very latest version. See if the script builds the package, including grabbing the correct source for itself.

If you have it and would like to submit, post to "Packager Training and Help". This will remind me to write up some docs I've been promising the repo maintainers for a while now.

Note: For anyone doing this with other packages, you should check also for patches, and you'd need that section of the source repo (vabs) tree for that. I've checked on this one already, and there are currently no patches for ntp to date.
Logged

Robert
VL STD 7.1 RC2.3, icewmvmods
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!