Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6562613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:43:47+00:00 2026-05-25T13:43:47+00:00

I compiled vim 7.3 with ./configure –enable-gnome-check –enable-cscope –with-features=huge –enable-perlinterp \ –enable- ythoninterp –enable-rubyinterp

  • 0

I compiled vim 7.3 with

./configure --enable-gnome-check --enable-cscope --with-features=huge --enable-perlinterp \
--enable- ythoninterp --enable-rubyinterp --enable-multibyte --enable-python3interp \
--with-compiledby=tahoang@something.com

on Ubuntu 11.04 in order to have proper indentation and syntax highlighting. However, python, perl and ruby don’t seem to be linking correctly as shown below:

Compilation: 
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -Wall -g -O2  -D_FORTIFY_SOURCE=1      

Linking: 
gcc   -Wl,--as-needed -o vim       -lm -lncurses -lselinux   -lacl -lgpm

Am I missing some critical points here? Following is output from vim –version on other machine with vim installed properly with python and perl support.

Compilation: x86_64-pc-linux-gnu-gcc -c -I. -Iproto -DHAVE_CONFIG_H
-march=x86-64 -msse3 -O2 -pipe -D_FORTIFY_SOURCE=1
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE  -I/usr/include/python2.6
-pthread   

Linking: x86_64-pc-linux-gnu-gcc   -rdynamic  -Wl,-O1 -L/usr/local/lib
-o vim       -lcurses -lacl -rdynamic
-L/usr/local/lib64 /usr/lib64/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib64/perl5/5.8.8/x86_64-linux/CORE -lperl -lutil -lc -L/usr/lib/python2.6/config -lpython2.6 -lutil -lm -Xlinker -export-dynamic

Thanks! Please let me know if I can provide any other information to elaborate on the issue.


Following is output from make that belongs to link.sh

link.sh: Using auto/link.sed file to omit a few libraries

gcc -L/usr/lib/i386-linux-gnu    -L. -Wl,-Bsymbolic-functions -rdynamic -Wl,-export-dynamic  -L/usr/local/lib         -o vim objects/buffer.o objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o objects/mark.o objects/memfile.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/pty.o objects/gui_gtk_f.o objects/gui_beval.o    objects/if_python.o objects/py_config.o   objects/if_ruby.o   objects/netbeans.o  objects/version.o   -pthread -L/usr/lib/i386-linux-gnu -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lXt -lncurses -liconv     -L/usr/local/lib/python2.7/config -lpython2.7 -lutil -Xlinker -export-dynamic   -lruby1.8 -lrt -lm
link.sh: Linked fine with a few libraries omitted
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:43:47+00:00Added an answer on May 25, 2026 at 1:43 pm

    on Ubuntu 11.04 in order to have proper indentation and syntax highlighting

    You don’t need to link Python, Ruby, or Perl to get syntax highlighting or indentation in Vim.
    They’re only used to run Python/Ruby/Perl code inside Vim.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: How can I configure Vim to compile C code using Borland’s compiler
I have a version of Vim compiled with python 2.6 support enabled ( from
I have a plugin that will only run if vim has been compiled with
I'm using Vim 7.2 , compiled with +xterm_clipboard , in a xterm through putty
I compiled 2 different binaries on the same GNU/Linux server using g++ version 4.2.3.
I opened up my compiled Hello World Obj-C application in a text editor and,
How do I lock compiled Java classes to prevent decompilation? I know this must
I have a compiled swf file and a I can't edit it , but
Can iPhone applications compiled against 2.1 be successfully installed via iTunes on a 2.0
Can a WinForms app compiled for Any CPU be configured to run as x86

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.