免费注册 查看新帖 |

Chinaunix

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

有安装上calltree的吗?指导下 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-09-21 16:22 |只看该作者 |倒序浏览
本帖最后由 wangzhen11aaa 于 2011-09-21 16:24 编辑

Linux includes the gnu make program by default but it is called 'make' on linux.
You will definitely need the shell script Gmake.linux to use gmake
on a linux system.

Install it as /usr/bin/Gmake with:

cp Gmake.linux /usr/bin/Gmake

Then compile the system by calling:

/usr/bin/Gmake
or ./Gmake.linux)
Let me give all steps
First:
tar -jxvf calltree-2.3.tar.bz2 |more
calltree-2.3/
calltree-2.3/RULES/
calltree-2.3/RULES/9000-725-hp-ux-cc.rul
calltree-2.3/RULES/9000-725-hp-ux-gcc.rul
calltree-2.3/RULES/MKLINKS
calltree-2.3/RULES/README
calltree-2.3/RULES/alpha-linux-cc.rul
calltree-2.3/RULES/alpha-linux-gcc.rul
calltree-2.3/RULES/aviion-dgux3-cc.rul
calltree-2.3/RULES/aviion-dgux3-gcc.rul
calltree-2.3/RULES/aviion-dgux4-cc.rul
calltree-2.3/RULES/aviion-dgux4-gcc.rul
calltree-2.3/RULES/i386-freebsd-cc.rul
calltree-2.3/RULES/i386-freebsd-gcc.rul
calltree-2.3/RULES/i386-linux-cc.rul
calltree-2.3/RULES/i386-linux-gcc.rul
calltree-2.3/RULES/i486-linux-cc.rul
calltree-2.3/RULES/i486-linux-gcc.rul
calltree-2.3/RULES/i586-linux-cc.rul
calltree-2.3/RULES/mk-.id
calltree-2.3/RULES/i586-linux-gcc.rul
calltree-2.3/RULES/i686-linux-cc.rul
calltree-2.3/RULES/i686-linux-gcc.rul
calltree-2.3/RULES/i86pc-sunos5-cc.rul
calltree-2.3/RULES/i86pc-sunos5-gcc.rul
calltree-2.3/RULES/ip22-irix-cc.rul
calltree-2.3/RULES/man-bsd.def
calltree-2.3/RULES/man-sysv.def
calltree-2.3/RULES/mk-build.id
calltree-2.3/RULES/mk-gmake.id
calltree-2.3/RULES/mk-make.id
calltree-2.3/RULES/mk-smake.id
calltree-2.3/RULES/os-aix.def
calltree-2.3/RULES/os-aix.id
calltree-2.3/RULES/os-dgux.id
calltree-2.3/RULES/os-dgux3.def
calltree-2.3/RULES/os-dgux4.def
calltree-2.3/RULES/os-freebsd.def
calltree-2.3/RULES/os-freebsd.id
calltree-2.3/RULES/os-hp-ux.def
calltree-2.3/RULES/os-hp-ux.id
calltree-2.3/RULES/os-irix.def
calltree-2.3/RULES/os-irix.id
calltree-2.3/RULES/os-linux.def
calltree-2.3/RULES/os-linux.id
calltree-2.3/RULES/os-sunos.id
calltree-2.3/RULES/os-sunos4.def
calltree-2.3/RULES/os-sunos5.def
calltree-2.3/RULES/r-build.dep
calltree-2.3/RULES/r-build.obj
calltree-2.3/RULES/r-build.tag
calltree-2.3/RULES/r-gmake.dep
calltree-2.3/RULES/r-gmake.obj
calltree-2.3/RULES/r-gmake.tag
calltree-2.3/RULES/r-make.dep
calltree-2.3/RULES/r-make.obj
calltree-2.3/RULES/r-make.tag
calltree-2.3/RULES/r-smake.dep
calltree-2.3/RULES/r-smake.obj
calltree-2.3/RULES/r-smake.tag
calltree-2.3/RULES/rs6000-aix-cc.rul
calltree-2.3/RULES/rules.aux
calltree-2.3/RULES/rules.clr
calltree-2.3/RULES/rules.cmd
calltree-2.3/RULES/rules.dep
calltree-2.3/RULES/rules.dir
calltree-2.3/RULES/rules.drv
calltree-2.3/RULES/rules.hlp
calltree-2.3/RULES/rules.ins
calltree-2.3/RULES/rules.lib
calltree-2.3/RULES/rules.loc
calltree-2.3/RULES/rules.man
calltree-2.3/RULES/rules.mkd
calltree-2.3/RULES/rules.mks
calltree-2.3/RULES/rules.mod
calltree-2.3/RULES/rules.obj
calltree-2.3/RULES/rules.prg
calltree-2.3/RULES/rules.scr
calltree-2.3/RULES/rules.shl
calltree-2.3/RULES/rules.tag
calltree-2.3/RULES/rules.top
calltree-2.3/RULES/sparc-linux-cc.rul
calltree-2.3/RULES/sparc-linux-gcc.rul
calltree-2.3/RULES/sun3-sunos4-cc.rul
calltree-2.3/RULES/sun3-sunos4-gcc.rul
calltree-2.3/RULES/sun4-sunos4-cc.rul
calltree-2.3/RULES/sun4-sunos4-gcc.rul
calltree-2.3/RULES/os-netbsd.def
calltree-2.3/RULES/sun4-sunos5-cc.rul
calltree-2.3/RULES/sun4-sunos5-gcc.rul
calltree-2.3/RULES/sun4c-sunos4-cc.rul
calltree-2.3/RULES/sun4c-sunos4-gcc.rul
calltree-2.3/RULES/sun4c-sunos5-cc.rul
calltree-2.3/RULES/sun4c-sunos5-gcc.rul
calltree-2.3/RULES/sun4m-sunos4-cc.rul
calltree-2.3/RULES/sun4m-sunos4-gcc.rul
calltree-2.3/RULES/sun4m-sunos5-cc.rul
calltree-2.3/RULES/sun4m-sunos5-gcc.rul
calltree-2.3/RULES/sun4u-sunos5-cc.rul
calltree-2.3/RULES/sun4u-sunos5-gcc.rul
calltree-2.3/RULES/sun4d-sunos5-cc.rul
calltree-2.3/RULES/sun4d-sunos5-gcc.rul
calltree-2.3/RULES/sun4e-sunos5-cc.rul
calltree-2.3/RULES/sun4e-sunos5-gcc.rul
calltree-2.3/RULES/sun4L-sunos5-cc.rul
calltree-2.3/RULES/sun4L-sunos5-gcc.rul
calltree-2.3/RULES/i386-netbsd-cc.rul
calltree-2.3/RULES/i386-netbsd-gcc.rul
calltree-2.3/RULES/os-netbsd.id
calltree-2.3/RULES/i386-openbsd-cc.rul
calltree-2.3/RULES/i386-openbsd-gcc.rul
calltree-2.3/RULES/os-openbsd.def
calltree-2.3/RULES/os-openbsd.id
calltree-2.3/RULES/sparc-netbsd-cc.rul
calltree-2.3/RULES/sparc-netbsd-gcc.rul
calltree-2.3/RULES/rs6000-aix-gcc.rul
calltree-2.3/RULES/ip30-irix-cc.rul
calltree-2.3/RULES/9000-710-hp-ux-cc.rul
calltree-2.3/RULES/9000-710-hp-ux-gcc.rul
calltree-2.3/RULES/9000-735-hp-ux-cc.rul
calltree-2.3/RULES/9000-735-hp-ux-gcc.rul
calltree-2.3/RULES/9000-755-hp-ux-cc.rul
calltree-2.3/RULES/9000-755-hp-ux-gcc.rul
calltree-2.3/RULES/ip32-irix-cc.rul
calltree-2.3/RULES/m68k-linux-cc.rul
calltree-2.3/RULES/m68k-linux-gcc.rul
calltree-2.3/RULES/ppc-linux-cc.rul
calltree-2.3/RULES/ppc-linux-gcc.rul
calltree-2.3/RULES/os-bsd-os.def
calltree-2.3/RULES/i386-bsd-os-gcc.rul
calltree-2.3/RULES/os-bsd-os.id

calltree-2.3/libschily/stdio/fileopen.c
calltree-2.3/libschily/stdio/fileread.c
calltree-2.3/libschily/stdio/fileseek.c
calltree-2.3/libschily/stdio/filewrite.c
calltree-2.3/libschily/stdio/flag.c
calltree-2.3/libschily/stdio/flush.c
......
calltree-2.3/libschily/stdio/io.h
calltree-2.3/libschily/stdio/niread.c
calltree-2.3/libschily/stdio/openfd.c
calltree-2.3/libschily/stdio/filestat.c
calltree-2.3/libschily/stdio/filesize.c
calltree-2.3/libschily/stdio/fpipe.c
calltree-2.3/libschily/Targets
calltree-2.3/libschily/Makefile
calltree-2.3/libschily/libschily.mk
calltree-2.3/libschily/libschily_p.mk
calltree-2.3/libschily/shlschily.mk
calltree-2.3/libschily/streql.c
calltree-2.3/libschily/fexec.c
calltree-2.3/libschily/strcatl.c
calltree-2.3/libschily/jssnprintf.c
calltree-2.3/libschily/jssprintf.c
calltree-2.3/libschily/astoll.c
calltree-2.3/libschily/strtod.c
calltree-2.3/libschily/seterrno.c

Then after the
(Install it as /usr/bin/Gmake with:

cp Gmake.linux /usr/bin/Gmake

Then compile the system by calling:

/usr/bin/Gmake
or ./Gmake.linux)step

cd calltree-2.3 ,use the Gmake introduction.
#Gmake |more
make: *** No targets specified and no makefile found. Stop.
[root@wangzhen tool]#cd calltree-2.3
[root@wangzhen calltree-2.3]#Gmake |more
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/conf"
make[1]: Entering directory `/home/wangzhen/tool/calltree-2.3/conf'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/wangzhen/tool/calltree-2.3/conf'
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/inc"
make[1]: Entering directory `/home/wangzhen/tool/calltree-2.3/inc'
==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/align_test.mk"
make[2]: Entering directory `/home/wangzhen/tool/calltree-2.3/inc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/wangzhen/tool/calltree-2.3/inc'
==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/avoffset.mk"
make[2]: Entering directory `/home/wangzhen/tool/calltree-2.3/inc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/wangzhen/tool/calltree-2.3/inc'
make[1]: Leaving directory `/home/wangzhen/tool/calltree-2.3/inc'
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libschily"
make[1]: Entering directory `/home/wangzhen/tool/calltree-2.3/libschily'
==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libschily/libschily.mk"
make[2]: Entering directory `/home/wangzhen/tool/calltree-2.3/libschily'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/wangzhen/tool/calltree-2.3/libschily'
make[1]: Leaving directory `/home/wangzhen/tool/calltree-2.3/libschily'
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/calltree"
make[1]: Entering directory `/home/wangzhen/tool/calltree-2.3/calltree'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/wangzhen/tool/calltree-2.3/calltree'
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/man"
make[1]: Entering directory `/home/wangzhen/tool/calltree-2.3/man'
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/man/man4"
make[2]: Entering directory `/home/wangzhen/tool/calltree-2.3/man/man4'
==> MAKING "all" ON SUBCOMPONENT "SRCROOT/man/man4/makefiles.mk"
......

ls
AN-2.3 Gmake README README.hpux RULES inc
BUILD Gmake.linux README.SSPM README.linux TARGETS include
COMPILE Gmake.sh README.aix README.linux~ TEMPLATES incs
COPYING INSTALL README.compile README.ppc calltree libs
DEFAULTS Makefile README.gmake README.solaris conf libschily
DEFAULTS_ENG PORTING README.gmake~ README.win32 configure man

如果Makefile:

Gmake Makefile |more
make: Nothing to be done for `Makefile'.


如果先运行./configure
出现:
./configure
configure is no longer used - just type "make", supported make programs are:

smake   -       The Schily smake program
                        This is the preferred make program, the source can be
                        found on ftp://ftp.berlios.de/pub/smake/alpha/

                Smake is the only make program with automake features, it is
                the only program that works on unknown platforms.

make    -       SunPRO make (on SunOS/Solaris only)
                        in /usr/bin/ (SunOS 4.x) or /usr/ccs/bin/ (Solaris)

gmake   -       GNU make
                        GNU make will not work correctly on all platforms
                        and due to some conceptional bugs output several
                        error messages that are not related to the makefile
                        system but to GNU make (see README.gmake)

Other make programs will not work, for more information read README.compile

If you have problems and if you are in doubt, try to use smake
        Always compile the latest version that can be found on:
                ftp://ftp.berlios.de/pub/smake/alpha/

论坛徽章:
0
2 [报告]
发表于 2011-09-21 18:10 |只看该作者
直接执行./Gmake

论坛徽章:
0
3 [报告]
发表于 2011-09-21 18:37 |只看该作者
#./Gmake
        ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/conf"
gmake[1]: Entering directory `/calltree-2.3/conf'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/calltree-2.3/conf'
        ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/inc"
gmake[1]: Entering directory `/calltree-2.3/inc'
        ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/align_test.mk"
gmake[2]: Entering directory `/calltree-2.3/inc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/calltree-2.3/inc'
        ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/avoffset.mk"
gmake[2]: Entering directory `/calltree-2.3/inc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/calltree-2.3/inc'
gmake[1]: Leaving directory `/calltree-2.3/inc'
        ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libschily"
gmake[1]: Entering directory `/calltree-2.3/libschily'
        ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libschily/libschily.mk"
gmake[2]: Entering directory `/calltree-2.3/libschily'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/calltree-2.3/libschily'
gmake[1]: Leaving directory `/calltree-2.3/libschily'
        ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/calltree"
gmake[1]: Entering directory `/calltree-2.3/calltree'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/calltree-2.3/calltree'
        ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/man"
gmake[1]: Entering directory `/calltree-2.3/man'
        ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/man/man4"
gmake[2]: Entering directory `/calltree-2.3/man/man4'
        ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/man/man4/makefiles.mk"
gmake[3]: Entering directory `/calltree-2.3/man/man4'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/calltree-2.3/man/man4'
        ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/man/man4/makerules.mk"
gmake[3]: Entering directory `/calltree-2.3/man/man4'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/calltree-2.3/man/man4'
gmake[2]: Leaving directory `/calltree-2.3/man/man4'
gmake[1]: Leaving directory `/calltree-2.3/man'

论坛徽章:
208
巨蟹座
日期:2013-09-02 09:16:36卯兔
日期:2013-09-02 20:53:59酉鸡
日期:2013-09-05 21:21:45戌狗
日期:2013-10-15 20:51:17寅虎
日期:2013-10-18 21:13:16白羊座
日期:2013-10-23 21:15:19午马
日期:2013-10-25 21:22:48技术图书徽章
日期:2013-11-01 09:11:32双鱼座
日期:2013-11-01 20:29:44丑牛
日期:2013-11-01 20:40:00卯兔
日期:2013-11-11 09:21:32酉鸡
日期:2013-12-04 19:56:39
4 [报告]
发表于 2011-09-22 09:02 |只看该作者
没看到报错啊,找一下看执行文件生成没有

论坛徽章:
0
5 [报告]
发表于 2011-09-22 10:04 |只看该作者
没看到报错啊,找一下看执行文件生成没有
流氓无产者 发表于 2011-09-22 09:02

恩,弄好了。

论坛徽章:
0
6 [报告]
发表于 2012-12-25 15:02 |只看该作者
楼主你好,你还记得calltree的安装方法吗?可否分享一下,我现在在Ubuntu上装calltree,跟你这个是一样的问题,看到你说已经解决了,能否分享一下解决方法,非常感谢!:wink:
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP