git上的深度源代码能编译安装吗?
Tofloor
poster avatar
baiyexing
deepin
2017-09-13 03:46
Author
我想试试用源代码安装软件,所以下载了深度音乐的源代码。按照网上的教程如下:
c@c-Lenovo-G450:~$ cd ./下载/deepin-music-master/
c@c-Lenovo-G450:~/下载/deepin-music-master$ ls
AUTHORS       config.pri  debian            interface  LICENSE       plugin     snap  tool
CHANGELOG.md  COPYING     deepin-music.pro  libdmusic  music-player  README.md  TODO  vendor
c@c-Lenovo-G450:~/下载/deepin-music-master$. /configure --prefix=/usr/local/深度音乐
bash: /configure: 没有那个文件或目录
c@c-Lenovo-G450:~/下载/deepin-music-master$



Reply Favorite View the author
All Replies
avatar
woodelf
deepin
2017-09-13 04:07
#1
不是所有的源代码包都通过.configure,make,make install这三步来编译安装。
深度的应用基于qt5,需要用qmake *.pro来生成Makefile,然后再正常用make来编译。







    来自:Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0  (zh-CN)
    ——2017/9/12 下午8:07:45
    Reply View the author
    avatar
    msccreater
    deepin
    2017-09-14 20:19
    #2
    大兄弟可以参考我使用源码编译深度截图的过程分享,基本都 差不多的,
    https://bbs.deepin.org/post/145416#page%3D1
    Reply View the author
    avatar
    wangyong
    deepin
    2017-09-14 20:28
    #3
    为啥不看readme呢,笑哭
    Reply View the author
    avatar
    billy123456
    deepin
    2017-09-14 20:48
    #4
    cat README.md
    Reply View the author
    avatar
    billy123456
    deepin
    2017-09-14 20:50
    #5
    所有源代码的编译第一步都是 cat README.md,cat README或firefox README.html
    Reply View the author
    avatar
    wtz
    deepin
    2017-09-15 00:11
    #6
    https://bbs.deepin.org/post/145432
    所有源代码的编译第一步都是 cat README.md,cat README或firefox README.html

    有些项目的README看了等于没看
    Reply View the author
    avatar
    billy123456
    deepin
    2017-09-15 02:10
    #7
    https://bbs.deepin.org/post/145432
    有些项目的README看了等于没看

    什么项目?
    Reply View the author
    avatar
    134******40
    deepin
    2017-09-15 03:55
    #8
    你需要看看README.md和debian目录下的control文件。
    Reply View the author
    avatar
    wtz
    deepin
    2017-09-15 12:23
    #9

    不是指deepin的项目。指的是github上的个人项目。
    Reply View the author
    avatar
    Orzogc
    deepin
    2017-09-16 05:15
    #10
    看Arch包的PKGBUILD:
    https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/deepin-music
    Reply View the author
    avatar
    iminto
    deepin
    2017-09-16 05:47
    #11
    一口吃不成胖子
    Reply View the author