LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-05-2010, 03:22 PM   #1
aloisius-a
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware, LFS
Posts: 27

Rep: Reputation: 0
elvis installation on LFS


Hi guys,
I am creating a LFS installation (rel. 6.5) and, because it is more comfortable to me, I tried to install elvis-2.2_0 instead of vim. After detarring the package I hit the coomands:
./configure --prefix=/usr --without-x
make

and I obtained the subsequent response:
ref.c:45 error:conflicting types for getline
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
male: *** [ref.o] Error 1

Can somebody help me to overcome this issue?
Thanks in advance

aloisius-a
 
Old 05-06-2010, 03:28 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
You can add a "getline" patch.

cd elvis-2.2_0/
wget http://ftp.de.debian.org/debian/pool...0-11.1.diff.gz

gunzip elvis_2.2.0-11.1.diff.gz
patch -p1 < elvis_2.2.0-11.1.diff

patch -p1 < debian/patches/getline

And please have a look into debian/patches/
to see twenty other useful patches.
..

Last edited by knudfl; 05-06-2010 at 03:38 AM.
 
1 members found this post helpful.
  


Reply

Tags
elvis


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hi and thanks from Elvis ;) $elvis$ LinuxQuestions.org Member Intro 5 04-06-2009 06:27 PM
LFS 6.3 - binutils 2.17 installation seb_01630 Linux From Scratch 5 07-31-2008 06:52 AM
reboot during lfs installation? ruben22 Linux From Scratch 3 12-14-2005 06:35 PM
Why elvis as vi clone? Lallo Slackware 4 06-24-2005 03:43 PM
help: vi starts elvis Vincent Slackware 5 09-26-2003 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:06 AM.

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