答复: [click] Cannot build the click router for user level
- Liu, Zhuotao
- 2014-12-06 @ 18:34
I run "lsattr", it gives me an error:
lsattr: Inappropriate ioctl for device While reading flags on ./libclicktool.a
lsattr: Inappropriate ioctl for device While reading flags on ./libclick.a
Running chattr produces the same error.
I looked up the website, it says "You can't check or set attributes on an
NFS-mounted filesystem, for example." In fact my file system is
nfs-mounted. So in this scenario, Click router will not be able to built?
Or I may need other ways to work around it?
发件人: firstname.lastname@example.org [email@example.com] 代表 Antonie Henning
发送时间: 2014年12月6日 10:04
主题: Re: [click] Cannot build the click router for user level
I don't have a definitive answer but had cases before with permission
errors as root. You can check whether the immutable bit is not perhaps set
in the destination directory or file. Check with lsattr and change with
Also if you are compiling for userlevel only then --disable-linuxmodule to
simplify the install. You can always come back and enable the kernel
Hope it helps.
From: "Liu, Zhuotao" <firstname.lastname@example.org>
Sent: Friday, December 5, 2014 10:27 PM Subject: [click] Cannot build the
click router for user level
Dear Click folks,
This is Zhuotao, a graduate student in University of Illinois.
Currently I try to use the Click router for my research project. Thanks a
lot for your clear explanation in the Github. But I have some issues for
building the Click.
While I run ./configure, I run the ./configure with kernel mode enabled.
My kernel version is 3.2.0-64-generic. Configuration seems OK as no errors
are thrown out. Then I run "sudo make install" to build the Click, the
machine gives me an error:
make: Entering directory `/usr/local/zhliu/Downloads/click/userlevel'
/usr/bin/install: cannot create regular file
`/home/rss/zhliu/lib/libclick.a': Permission denied
make: *** [install-lib] Error 1
make: Leaving directory `/usr/local/zhliu/Downloads/click/userlevel'
make: *** [install-userlevel] Error 2
I am the root user in fact. Why I do not have the permission for creating
I do a search on the web, a similar problem has been countered:
But I did not find an answer for this post as well.
Thanks a lot for help. I appreciate you answer.