免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1048 | 回复: 0
打印 上一主题 下一主题

Debian 3.1中./configure总是出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-17 10:12 |只看该作者 |倒序浏览

                                昨天重装了,从Magic Linux换回Debian了.
不是Magic Linux不好,是我的显卡在Magic下工作的很不好,运行glxgears或者用OPENGL的屏保时
慢的跟牛一样.
而且我的笔记本的显示器总是无法完全关闭,总是空屏幕.
现在换了Debian,这些问题都没了.我也不知道为什么,谁叫我时菜鸟呢.
不过God总是不让我事事顺利,这不./configure总是出错
               
               
                checking for X... configure: error: Can't find X includes. Please check
> your installation and add the correct paths!
这事估计难办........我会在这篇博客中一直贴下去,知道问题解决!
2006-12-17
早上一起床就开Google搜索了一下,找导一篇文章:
[Kst] KDE 3.3 - cant find X includes
    Matthew D Truch
    matt at truch.net
       Thu Mar 24 21:15:16 CET 2005
   
   
  • Previous message: [Kst] KDE 3.3 - cant find X includes
  • Next message: [Kst] KDE 3.3 - cant find X includes
  • Messages sorted by:
                  
    [ date ]
                  
    [ thread ]
                  
    [ subject ]
                  
    [ author ]
             
          
    > i'm trying to install KST under KDE 3.3 and i ran into an error that i
    > dont know what to do with. when i ran the ./configure, it got pretty far
    > through, but then i go this:
    >
    > checking for X... configure: error: Can't find X includes. Please check
    > your installation and add the correct paths!
    >
    > i did use --prefix=/opt to point to the kde install.  i didnt install kst
    > in /usr/local but in my home directory...i dont think that's the problem.
    >
    > anyway, any pointers would be much appreciated!  specifcally, where do i
    > change the paths to the X includes and how to i identify the path for the
    > X includes?

    Is it possible that you don't have the devel packages for X installed?
    For Suse, I believe the package is called xorg-x11-devel.  
    $rpm -q xorg-x11-devel
    should tell you if it's there.  Or if I'm wrong in the name, try
    $rpm -qa |grep xorg
    to see all the xorg packages you have installed.  Look for something
    with devel in the name.  
    If that's kosher, perhaps you just need to tell configure where Suse
    put's it's X headers and libraries.  Use the --with-extra-includes
    and/or --with-extra-libs directives to ./configure.  See
    ./configure --help for all the options you can pass it.  
    --
    "In space, no one can hear you scream."
    --------------------------
    Matthew Truch
    Department of Physics
    Brown University
    matt at truch.net
    http://matt.truch.net/
    根据大牛的说法,是装一个xorg-x11-devel
    google一个,地址是
    http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin/release/X11/xorg-x11-devel/
    下载了个最新的,放到/,解压
    tar -jxvf ......bz2
    在解压的时候又发现了一个问题,不能解压bz2的包...唉....
    我没工夫下载源码包编译了,apt-get intsll bzip2
    解压OK了.
    然后试着编译一个knetstats(一个在任务栏显示以太网联接状况的小程序,在http://www.kde-apps.org
    上有下载)
    cd knetstats
    ./configure
    .....
    checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
    checking for IceConnectionNumber in -lICE... no
    checking for libXext... no
    configure: error: We need a working libXext to proceed. Since configure
    can't find it itself, we stop here assuming that make wouldn't find
    them either.
    我操他NND!!!!刚解决了一个问题,又来了一个!
    何为libXert!Debian老家给出了说法:
    Package: libxext-dev (1:1.0.1-2)
    X11 miscellaneous extensions library (development headers)
    libXext provides an X Window System client interface to several extensions to
    the X protocol.
    The supported protocol extensions are:
    - DOUBLE-BUFFER (DBE), the Double Buffer extension;
    - DPMS, the VESA Display Power Management System extension;
    - Extended-Visual-Information (EVI), an extension for gathering extra
       information about the X server's visuals;
    - LBX, the Low Bandwith X extension;
    - MIT-SHM, the MIT X client/server shared memory extension;
    - MIT-SUNDRY-NONSTANDARD, a miscellaneous extension by MIT;
    - Multi-Buffering, the multi-buffering and stereo display extension;
    - SECURITY, the X security extension;
    - SHAPE, the non-rectangular shaped window extension;
    - SYNC, the X synchronization extension;
    - TOG-CUP, the Open Group's Colormap Utilization extension;
    - XC-APPGROUP, the X Consortium's Application Group extension;
    - XC-MISC, the X Consortium's resource ID querying extension;
    - XTEST, the X test extension (this is one of two client-side
       implementations; the other is in the libXtst library, provided by the
       libxtst6 package);
    libXext also provides a small set of utility functions to aid authors of
    client APIs for X protocol extensions.
    This package contains the development headers for the library found in
    libxext6. Non-developers likely have little use for this package.
    More information about X.Org can be found at:
    This module can be found as the module 'lib/Xext' at
    :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg

    Other Packages Related to libxext-dev

    = depends

    = recommends

    = suggests



  • libx11-dev
    X11 client-side library (development headers)



  • libxext6
    (= 1:1.0.1-2)X11 miscellaneous extension library



  • x11-common
    (>= 1:7.0.0)X Window System (X.Org) infrastructure



  • x11proto-core-dev
    X11 core wire protocol and auxiliary headers



  • x11proto-xext-dev
    X11 various extension wire protocol

    Download libxext-dev
    Download for all available architectures
    ArchitectureFilesPackage SizeInstalled Size
    alpha
    [
    list of files
    ]
    90.8
    440
    amd64
    [
    list of files
    ]
    78.1
    372
    arm
    [
    list of files
    ]
    76.8
    344
    hppa
    [
    list of files
    ]
    81.4
    364
    hurd-i386
    [
    list of files
    ]
    73.3
    336
    i386
    [
    list of files
    ]
    73.2
    336
    ia64
    [
    list of files
    ]
    97.7
    468
    kfreebsd-i386
    (unofficial port)
    [
    list of files
    ]
    73.2
    210
    m68k
    [
    list of files
    ]
    72.2
    340
    mips
    [
    list of files
    ]
    80.8
    376
    mipsel
    [
    list of files
    ]
    81
    376
    powerpc
    [
    list of files
    ]
    77.4
    360
    s390
    [
    list of files
    ]
    76.7
    352
    sparc
    [
    list of files
    ]
    73.8
    348
    Size is measured in kBytes.

    More Information on libxext-dev
    Check for
    Bug Reports
    about libxext-dev.
    Source Package:
    libxext
    , Download:
    [dsc]
    [libxext_1.0.1.orig.tar.gz]
    [libxext_1.0.1-2.diff.gz]
    View the
    Debian changelog
    View the
    copyright file
    [email=//debian-x@lists.debian.org/]Debian X Strike Force[/email]
    ,
    [email=//dnusinow@debian.org/]David Nusinow[/email]
    ,
    [email=//branden@debian.org/]Branden Robinson[/email]
    and
    [email=//fabbione@fabbione.net/]Fabio M. Di Nitto[/email]
    are responsible for this Debian package. See the
    developer information for libxext-dev
    .
    Search for
    other versions of libxext-dev
    下载下来,dpkg -i libxext-dev_1.0.1-2_i386.deb
    选中了曾被取消选择的软件包 libxext-dev。
    dpkg:对于含 libxext-dev 的文件 libxext-dev_1.0.1-2_i386.deb 来说,有预依赖(pre-dependency)方面的问题:
    libxext-dev 预依赖于 x11-common (>= 1:7.0.0)
    dpkg:处理 libxext-dev_1.0.1-2_i386.deb (--install)时出错:
    预依赖(pre-dependency)问题 - 将不安装libxext-dev
    在处理时有错误发生:
    libxext-dev_1.0.1-2_i386.deb
    SHIT!!!
    List:      
    kdevelop
    Subject:   
    configure: error: We need a working libXext to proceed.
    From:      
    Peggy Go
    Date:      
    2003-12-22 3:51:03
    [
    Download message RAW
    ]

    HI! I'm trying to compile my program but I got this
    error:
    /home/shatz/our_coach/our_coach/dbase.cpp:26:
    undefined reference to
    `pqxx::connection::connection[in-charge]()'
    so I linked the library by typing in
    "/usr/local/pqxx/lib" to --x-library but after that, I
    got this error:
    configure: error: We need a working libXext to
    proceed. Since configure
    can't find it itself, we stop here assuming that make
    wouldn't find
    them either.
    What should I do???
    Thanks!
    今天到此为止,有空继续!
                   
                   

    本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/18158/showart_217089.html
  • 您需要登录后才可以回帖 登录 | 注册

    本版积分规则 发表回复

      

    北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
    未成年举报专区
    中国互联网协会会员  联系我们:huangweiwei@itpub.net
    感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP