Chinaunix首页 | 论坛 | 博客
  • 博客访问: 61284
  • 博文数量: 7
  • 博客积分: 1400
  • 博客等级: 上尉
  • 技术积分: 215
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-10 19:40
文章分类

全部博文(7)

文章存档

2011年(1)

2008年(6)

我的朋友

分类: LINUX

2008-04-04 21:46:45

 sourcenav是一款非常不错的源码编辑,查看软件,同时还支持编译器和调试器的集成,可以构建成一套完整的IDE开发环境。
最新版本sourcenav-5.2b2,安装环境FC6.

      安装过程如下:

      1, tar -zxvf sourcenav-5.2b2.tar.gz
          Note: The following approach of making a new build directory instead of building the system comes from INSTALL.TXT. Actually you don't need to make a new building dir at all.

      2,mkdir ~/snbuild; cd ~/snbuild

      3,../sourcenav-5.2b2/configure --prefix=/opt/sourcenav
          As the same reason, the --prefix option is not needed at all, by default all binaries are installed into /usr or /usr/local.

      report the following error in the processing:

         checking if 64bit Sparc VIS support is requested... no
         checking system version (for dynamic loading)... ./configure: line 6046: syntax error near unexpected token `)'
         ./configure: line 6046: `       OSF*)'
         configure: error: ./configure failed for unix
         configure: error: ./configure failed for tcl

     4,fix bugs
         fix this bug with patch sourcenav-tk-configure-single-quote.patch, you can get this patch from          patch -p1 < sourcenav-tk-configure-single-quote.patch

         try step 3 again! the problem disapears.

     5, fix fwritable-string problem
       
         make
      
         you will get the information "fwritable-strings" error

         find . -name "Makefile"|xargs grep -n "fwritable-strings"

              ./tix/unix/tk8.3/Makefile:51:TIX_CFLAGS = $(CFLAGS) -fwritable-strings
              ./libgui/src/Makefile:133:LIBGUI_CFLAGS = -fwritable-strings
              ./libgui/library/Makefile:73:LIBGUI_CFLAGS = -fwritable-strings
              ./libgui/Makefile:74:LIBGUI_CFLAGS = -fwritable-strings

         edit all the Makefile, delete fwritable-strings from these files.

         make it again! its OK!

      6, install it

         make install

         Any problems about source navigator, you can find them from

阅读(1283) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2008-04-09 10:00:31

3x,管用的