国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

Ubuntu按轉發(fā)HDF5

這篇具有很好參考價值的文章主要介紹了Ubuntu按轉發(fā)HDF5。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

源碼編譯流程

  • 下載源代碼
    wget https://hdf-wordpress-1.s3.amazonaws.com/wp-content/uploads/manual/HDF5/HDF5_1_14_3/src/hdf5-1.14.3.zip

  • 解壓
    unzip hdf5-1.14.3.zip

  • 進入解壓后的目錄
    cd hdf5-1.14.3

  • 編譯
    依次執(zhí)行下面的命令

./configure --prefix=/usr/local/hdf5 --enable-cxx
make
make check                # run test suite.
sudo make install
make check-install        # verify installation.

輸出

:~/project/3rd_party/hdf5-1.14.3$ ./configure --prefix=/usr/local/hdf5 --enable-cxx
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking shell variables initial values... done
checking if basename works... yes
checking if xargs works... yes
checking for cached host... none
checking enable warnings as
.................................................
             Shared C++ Library: yes
             Static C++ Library: yes

                           Java: no


Features:
---------
                     Parallel HDF5: no
  Parallel Filtered Dataset Writes: no
                Large Parallel I/O: no
                High-level library: yes
Dimension scales w/ new references: no
                  Build HDF5 Tests: yes
                  Build HDF5 Tools: yes
                   Build GIF Tools: no
                      Threadsafety: no
               Default API mapping: v114
    With deprecated public symbols: yes
            I/O filters (external): deflate(zlib)
                     Map (H5M) API: no
                        Direct VFD: no
                        Mirror VFD: no
                     Subfiling VFD: no
                (Read-Only) S3 VFD: no
              (Read-Only) HDFS VFD: no
    Packages w/ extra debug output: none
                       API tracing: no
              Using memory checker: no
            Function stack tracing: no
                  Use file locking: best-effort
         Strict file format checks: no
      Optimization instrumentation: no

附錄

如果在執(zhí)行./configure --prefix=/usr/local/hdf5 --enable-cxx的時候出現下面的錯誤

輸出

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/hello/project/3rd_party/hdf5-1.14.3/bin/missing: line 3: $'\r': command not found
/home/hello/project/3rd_party/hdf5-1.14.3/bin/missing: line 5: $'\r': command not found
/home/hello/project/3rd_party/hdf5-1.14.3/bin/missing: line 8: $'\r': command not found
/home/hello/project/3rd_party/hdf5-1.14.3/bin/missing: line 13: $'\r': command not found
/home/hello/project/3rd_party/hdf5-1.14.3/bin/missing: line 18: $'\r': command not found
/home/hello/project/3rd_party/hdf5-1.14.3/bin/missing: line 21: $'\r': command not found
/home/hello/project/3rd_party/hdf5-1.14.3/bin/missing: line 26: $'\r': command not found
/home/hello/project/3rd_party/hdf5-1.14.3/bin/missing: line 32: syntax error near unexpected token `$'in\r''
'home/hello/project/3rd_party/hdf5-1.14.3/bin/missing: line 32: `case $1 in
configure: WARNING: 'missing' script is too old or missing
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: error: cannot run /bin/bash ./bin/config.sub

這是configure腳本文件中存在Windows風格的行結束符(CRLF)。Linux等Unix基礎的系統期望行結束符只是LF,額外的CR字符被解釋為命令的一部分,導致錯誤。

你可以使用dos2unix這樣的工具來轉換你文件中的行結束符。如果還沒有安裝,你可以使用sudo apt-get install dos2unix來安裝。

使用下面的額命令把當前文件里的所有包含windows風格的行結束符的文件轉換成unix風格的行結束符文章來源地址http://www.zghlxwxcb.cn/news/detail-786045.html

find . -type f -exec dos2unix {} \;

到了這里,關于Ubuntu按轉發(fā)HDF5的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網!

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。如若轉載,請注明出處: 如若內容造成侵權/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經查實,立即刪除!

領支付寶紅包贊助服務器費用

相關文章

  • Ubuntu20.04服務器開啟路由轉發(fā)讓局域網內其他電腦通過該服務器連接外網

    背景 今天想讓一臺裝有 Ubuntu20.04 系統的服務器在局域網中起到路由器的功能。 目標: 讓局域網中所有的電腦都通過這臺服務器連接外網。 服務器網卡 服務器的兩個網卡: eth0 : 192.168.1.xxx/24 連接局域網 eth1 : 117.22.22.xxx/24 連接外網 基本配置 1、在服務器上開啟內核路由轉

    2024年02月11日
    瀏覽(25)
  • 基于ubuntu構建jdk鏡像

    Docker Hub 上有很多官方的 JDK 鏡像,但是它們都不是基于 ubuntu 的,而是基于更小的 Linux 發(fā)行版,在使用一些命令行工具的之后老師報找不到,而且自己對 ubuntu 也更加熟悉。 以此 Dockerfile 構建的鏡像擁有國內的apt源,且安裝了jdk8。 在構建此鏡像的時候我遇到了一個問題,如

    2024年02月09日
    瀏覽(21)
  • Linux(15)Ubuntu安裝ninja構建工具

    在 Ubuntu 系統中安裝 Ninja 的方法有很多種,下面是幾種常見的方法: 使用 apt 命令安裝: 從源代碼安裝: 首先,從 Github 上下載 Ninja 的源代碼: 然后,使用 ./configure.py 命令來配置構建過程: 最后,使用 install 命令將 Ninja 安裝到系統中: 使用 Python 的 pip 工具安裝: 首先,

    2024年02月01日
    瀏覽(30)
  • Ubuntu安裝jenkins完成自動化構建

    Ubuntu安裝jenkins完成自動化構建

    本篇文章介紹Ubuntu系統中安裝jenkins,并使用jenkins完成自動化構建。 Jenkins自動構建部署流程通過git拉取代碼,然后用maven打包成jar包,然后通過docker完成項目部署。這里的服務器需要安裝jdk(openjdk也行),maven,git,docker,mysql,其他中間件(redis,mq等)。 1.maven安裝 Ubuntu的

    2024年02月12日
    瀏覽(23)
  • 基于 RK3588 構建 Ubuntu 22.04 根文件系統

    基于 RK3588 構建 Ubuntu 22.04 根文件系統

    以下內容在 Rockchip 的 Linux SDK 目錄下完成,請先解壓 Linux SDK。 1.1 下載 Ubuntu Base Ubuntu-Base 是Ubuntu官方構建的ubuntu最小文件系統,基礎包大小通常只有幾十兆,可以很方便的個性化定制嵌入式環(huán)境。使用北京外國語大學鏡像站加速下載,注意選擇根據開發(fā)板架構選擇arm64或其他

    2024年02月13日
    瀏覽(105)
  • Ubuntu系統環(huán)境搭建(六)——Ubuntu安裝redis

    ubuntu環(huán)境搭建專欄??點擊跳轉 更新 安裝 查看是否在運行 編輯redis配置 允許遠程訪問 將bind 127.0.0.1 ::1注釋掉 設置密碼 找到 requirepass foobared ,將foobared修改為你的redis密碼 至此,保存 redis.conf ,配置工作已經完成。 重啟redis

    2024年02月10日
    瀏覽(23)
  • Ubuntu系統環(huán)境搭建(五)——Ubuntu安裝maven

    ubuntu環(huán)境搭建專欄??點擊跳轉 更新 安裝 驗證

    2024年02月10日
    瀏覽(16)
  • Ubuntu系統環(huán)境搭建(八)——Ubuntu開機自動執(zhí)行命令

    ubuntu環(huán)境搭建專欄??點擊跳轉 修改文件 以自啟動mysql為例,在文件末尾添加 我是騰訊云服務器, rc.local 已經配置好了??傊?,你要確保rc.local是可執(zhí)行文件。

    2024年02月10日
    瀏覽(22)
  • 【ubuntu】 Linux(ubuntu)創(chuàng)建python的虛擬環(huán)境

    【ubuntu】 Linux(ubuntu)創(chuàng)建python的虛擬環(huán)境

    ??博__主??:米碼收割機 ??技__能??:C++/Python語言 ??公眾號??:測試開發(fā)自動化【獲取源碼+商業(yè)合作】 ??榮__譽??:阿里云博客專家博主、51CTO技術博主 ??專__注??:專注主流機器人、人工智能等相關領域的開發(fā)、測試技術。 在 Linux 上使用 Python 創(chuàng)建虛擬環(huán)境非常簡

    2024年02月08日
    瀏覽(24)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領取紅包,優(yōu)惠每天領

二維碼1

領取紅包

二維碼2

領紅包