DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th November 2008
unixdude unixdude is offline
Real Name: Raul Ruiz, Jr.
New User
 
Join Date: Jun 2008
Location: Southern California
Posts: 6
Thanked 0 Times in 0 Posts
Default Trying to install elinks via ports. Not having luck. Need help.

Hello! I am trying to install elinks from ports and I got the following error code messages below. I tried deinstalling elinks and running make build again and make reinstall but no luck. I am new to FreeBSD and I want to know how to fix a broken port. If that's what is going on here. I looked up these error codes and I tried their fix suggestions per the freebsd handbook. Still no luck. Can someone suggest a solution. Thank you for your time.

/usr/ports/www/elinks]# make build
===> elinks-0.11.2_3 depends on executable: smbclient - not found
===> Verifying install for smbclient in /usr/ports/net/samba3
===> samba-3.0.28,1 depends on file: /usr/local/bin/autoconf-2.61 - found
===> samba-3.0.28,1 depends on shared library: execinfo.1 - found
===> samba-3.0.28,1 depends on shared library: cups.2 - not found
===> Verifying install for cups.2 in /usr/ports/print/cups-base
===> Patching for cups-base-1.3.5_2
===> Applying FreeBSD patches for cups-base-1.3.5_2
Ignoring previously applied (or reversed) patch.
10 out of 10 hunks ignored--saving rejects to cups/ipp.c.rej
=> Patch patch-CVE-2007-4351 failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/print/cups-base.
*** Error code 1

Stop in /usr/ports/net/samba3.
*** Error code 1

Stop in /usr/ports/www/elinks.
*** Error code 1

Stop in /usr/ports/www/elinks.
Reply With Quote
  #2   (View Single Post)  
Old 10th November 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

> Patch patch-CVE-2007-4351 failed to apply cleanly.

basically means that the patch failed, if you check wikipedia for a page on the unix patch utility you'll quickly get the idea of what this means. Because the patch process failed, make has aborted the build process of cups-base, intern causing the overall make to fail due to missing dependencies (error code 1).

I would suggest cleaning out the relivant distfiles in /usr/ports/distfiles, updating the ports tree if necessary (elinks last updated 4weeks back, cups-base 3 weeks back), and try again. (distfiles are basically the source tarballs that make downloads to build the app)
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #3   (View Single Post)  
Old 11th November 2008
unixdude unixdude is offline
Real Name: Raul Ruiz, Jr.
New User
 
Join Date: Jun 2008
Location: Southern California
Posts: 6
Thanked 0 Times in 0 Posts
Smile re:> Patch patch-CVE-2007-4351 failed to apply cleanly

Thanks terryP! I gave your suggestion a try and it worked. I have "elinks" now installed via ports and it works just fine. I had to update my ports tree, and I did clean out the old distfiles in question. Thanks a lot!
RR.
Reply With Quote
Reply

Tags
ports

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New User - Ports Install and GNOME Pkg problems IronForge OpenBSD Packages and Ports 9 14th July 2009 08:34 PM
cannot install wireshark from ports ccc FreeBSD Ports and Packages 1 1st February 2009 05:52 PM
Can't install opera from ports erno FreeBSD Ports and Packages 2 25th June 2008 10:25 AM
Should i install 2 ports at same time ? bsdnewbie999 OpenBSD General 4 18th June 2008 04:34 AM
Install ports from cd? xCipherx OpenBSD Packages and Ports 5 2nd June 2008 06:35 PM


All times are GMT. The time now is 08:38 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick