---
title: "Larbin 安装遇到的问题（fedora）"
author: "vergilwang"
date: "2012-10-10T10:48:00Z"
tags: []
categories: ["开源软件"]
slug: "larbin-fedora"
draft: false
lastmod: "2014-02-15T15:58:00Z"
id: 2011322
url: "https://vergilwang.iteye.com/blog/2011322"
---

Notes some problem for Larbin-2.6.3

**安装步骤：**

**1.**解压：tar –zxvf larbin-2.6.3.tar.gz

修改编译选项配置vi options.h  
修改输出选项#define SIMPLE\_SAVE

**2.**设置：./configure

Notes:这里可能遇到没有makedepend命令的情况，

1)一种方法是再makefile中修改makedepend命令为make，另一种是yum install imake 安装makedepend

2)另外要将larbin-2.6.3/configure 和larbin-2.6.3/adns/configure 改成可执行 (chmod +x filename)

3)当然你需要g++ 的compiler， yum install gcc-c++

**3**.编译：gmake。 备注：在这里你还可以选择两种编译方法，gmake prof，或者，gmake debug

编译会报一些错误，需要简要的修改。

1）adns\_status adns\_\_parse\_domain(adns\_state ads, int serv, adns\_query qu,vbuf \*vb, parsedomain\_flags flags,const byte \*dgram, int dglen, int \*cbyte\_io, int max);  
更正为： adns\_status adns\_\_parse\_domain(adns\_state ads, int serv, adns\_query qu,vbuf \*vb, adns\_queryflags flags,const byte \*dgram, int dglen, int \*cbyte\_io, int max);就不会出错了。

2）larbin-2.6.3/src/utils/string.cc

larbin-2.6.3/src/utils/debug.cc

larbin-2.6.3/src/interf/input.cc

larbin-2.6.3/src/interf/defaultuseroutput.cc

larbin-2.6.3/src/interf/output.cc

larbin-2.6.3/src/utils/connexion.cc

larbin-2.6.3/src/utils/text.cc

larbin-2.6.3/src/utils/webserver.cc

larbin-2.6.3/src/fetch/squencer.cc

larbin-2.6.3/src/fetch/hashtable.cc

larbin-2.6.3/src/fetch/checker.cc

larbin-2.6.3/src/fetch/file.cc

larbin-2.6.3/src/fetch/fetchOpen.cc

larbin-2.6.3/src/fetch/fetchPipe.cc

larbin-2.6.3/src/utils/PersistentFifo.cc

larbin-2.6.3/src/utils/hashDup.cc

larbin-2.6.3/src/utils/mypthread.cc

larbin-2.6.3/src/global.cc

中&lt;iostream.h&gt;改为 &lt;iostream&gt; using namespace std;

(3)错误：posix\_types\_32.h：没有那个文件或目录，就把系统下posix\_types.h里面全部注释掉即可