문제발생시

sudo emerge -update --deep @world

'linux' 카테고리의 다른 글

how to change raspberry pi clock freq  (0) 2018.08.30
python 3.5 install on debian  (0) 2018.08.03
cannot set LC_CTYPE, LC_ALL  (0) 2018.07.24
zybo boot image  (0) 2018.07.02
device tree  (0) 2018.06.19

locale-gen 으로 사용할 locale을 활성화 해야하는것 같다.



https://wiki.archlinux.org/index.php/Locale_(%ED%95%9C%EA%B5%AD%EC%96%B4)

'linux' 카테고리의 다른 글

python 3.5 install on debian  (0) 2018.08.03
gentoo update  (0) 2018.07.27
zybo boot image  (0) 2018.07.02
device tree  (0) 2018.06.19
installing caffe  (0) 2018.04.03

https://github.com/SDU-Embedded/linux_zynq/wiki/Installing-Linux-on-the-ZYBO

'linux' 카테고리의 다른 글

gentoo update  (0) 2018.07.27
cannot set LC_CTYPE, LC_ALL  (0) 2018.07.24
device tree  (0) 2018.06.19
installing caffe  (0) 2018.04.03
turn off beep sound on linux  (0) 2018.03.22

https://elinux.org/Device_Tree_Usage

'linux' 카테고리의 다른 글

cannot set LC_CTYPE, LC_ALL  (0) 2018.07.24
zybo boot image  (0) 2018.07.02
installing caffe  (0) 2018.04.03
turn off beep sound on linux  (0) 2018.03.22
vivado GUI xserver permission error  (0) 2018.03.22

isntall all library here

http://caffe.berkeleyvision.org/installation.html


BLAS: OpenBLAS for Gentoo


modify Makefile.config

(read the commented explanation well, and modify as it need to be


note: PYTHON_INCLUDE & PYTHON_LIBRARIES

PYTHON_LIBRARIES=the name of boost_python-x.x.so or just boost_python something


build caffe 

export LD_LIBRARY_PATH=/opt/OpenBLAS/lib


add LD_LIBRARY_PATH="/opt/OpenBLAS/lib:${LD_LIBRARY_PATH}"  in bash configuration file


for gtk 550 ti CUDA version must be 8

and CUDA driver must be downloaded through NVIDIA homepage, not the package manager (e.g. portage)

and need to change gcc version to 5

gcc-config 1 (select the number version 5)

env-update && source /etc/profile && PS1=$PS1

emerge --ask libtool


gcc version later than 5 are not supported

check gcc version

gcc-config -l

gcc-config number

env-update && source /etc/profile


install pycaffe


on Gentoo, install boost-numpy is necessary

export PYTHONPATH=/CAFFE/ROOT/python:$PYTHONPATH
export CAFFE_ROOT=/CAFFE/ROOT
export LD_LIBRARY_PATH=/opt/cuda/lib64:$LD_LIBRARY_PATH

add all export to /etc/environment or bash configuration file (e.g. .zshrc)


and

in /CAFFE/ROOT/

make pycaffe

'linux' 카테고리의 다른 글

zybo boot image  (0) 2018.07.02
device tree  (0) 2018.06.19
turn off beep sound on linux  (0) 2018.03.22
vivado GUI xserver permission error  (0) 2018.03.22
printing duplex problem on linux  (0) 2018.03.15

/etc/inputrc 파일에


set bell-style none

#set bell-style visible

#set bell-style audible

이거 아무소용없는듯...


그리고 shell에서 module을 끄는 명령어

rmmod pcspkr

이건 일시적


/etc/rc.conf

modprobe -r pcspkr

이건 재부팅 해봐야 알듯


xset b 0 0 0



'linux' 카테고리의 다른 글

device tree  (0) 2018.06.19
installing caffe  (0) 2018.04.03
vivado GUI xserver permission error  (0) 2018.03.22
printing duplex problem on linux  (0) 2018.03.15
install vivado on linux  (0) 2018.03.15

/vivado/installed/path/version/lnx64/tools/clang-3.9/lib 에 있는 libz.so.1 library가 잘못된듯하다

해당폴더에 있는 libz.so.1을 backup 용으로 libz.so.1.old로 바꿔주고

시스템에 있는 라이브러리인 /lib/libz.so.1을 소프트링크로 해당 폴더에 만들어주면된다. (sudo ln -s /lib/libz.so.1)


'linux' 카테고리의 다른 글

installing caffe  (0) 2018.04.03
turn off beep sound on linux  (0) 2018.03.22
printing duplex problem on linux  (0) 2018.03.15
install vivado on linux  (0) 2018.03.15
how to fix [not in the sudoers file.] error  (0) 2016.04.19

two-sided print check를 했는데도 안되는 경우

/etc/cups/ppd/printer_name.ppd

*Defaultmanualduplex: off

로 바꾸고

*DefaultDuplex: DuplexTumble

로 바꾸고


evince에서 duplex prining이 안되는 경우

cups-manualduplex=off

cups-Duplex=DuplexNoTumble (이 설정은 필수인지 잘모르겠다. 그냥 DuplexTumble로 둬도 괜찮을 수도...)

아ㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏㅏ

ㅠㅠ 박사........나도 안하고싶다.........

'linux' 카테고리의 다른 글

turn off beep sound on linux  (0) 2018.03.22
vivado GUI xserver permission error  (0) 2018.03.22
install vivado on linux  (0) 2018.03.15
how to fix [not in the sudoers file.] error  (0) 2016.04.19
vim 명령어  (0) 2016.04.11

while vivado installing, the process stops at "generating installed device list"

turn off the vivado installing by Ctrl + c (do not cancel, then the library folder will be removed that makes you can not find the path for environment variable)


It is an error that can not load library.


To fix this, environment variable must be configured for vivado.

Find the path clang library, and configure "LD_LIBRARY_PATH"

 LD_LIBRARY_PATH="/vivado/installed/directory/path/Vivado/2017.4/lnx64/tools/clang-3.9/lib:${LD_LIBRARY_PATH}"
 export LD_LIBRARY_PATH


run installing by sudo


그다음은 실행하기 위한 환경설정

shell config file(e.g. zshrc) 에


 PATH="/bin:/usr/bin:/usr/local/bin:/usr/sbin:${PATH}"
 export PATH
 LD_LIBRARY_PATH="/home/min/workspace/vivado/Vivado/2017.4/lnx64/tools/clang-3.9/lib:${LD_LIBRARY_PATH}"
 export PATH


source /vivado/installed/directory/path/Vivado/version/settings64.sh

추가


/vivado/installed/directory/path/Vivado/version/bin/vivado file에

LD_LIBRARY_PATH="/vivado/installed/directory/path/Vivado/2017.4/lnx64/tools/clang-3.9/lib:${LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH

추가


실행하면 라이브러리 관련 에러가 뜬다.

해당 경로에 라이브러리가 없거나 있어도 안맞는듯

해당 시스템의 같은 이름의 라이브러리를 소프트링크해주면 된다.

libtinfo.so.5 -> /lib/libncurses.so.5 ??????

 






'linux' 카테고리의 다른 글

turn off beep sound on linux  (0) 2018.03.22
vivado GUI xserver permission error  (0) 2018.03.22
printing duplex problem on linux  (0) 2018.03.15
how to fix [not in the sudoers file.] error  (0) 2016.04.19
vim 명령어  (0) 2016.04.11

not in the sudoers file


현재 sudo 권한이 없어서 발생하는 에러이다. 

sudo 그룹에 현재 사용자를 추가해주면 된다.


su - 


명령어를 치면 root 계정으로 바뀌고


su [username] 


명령어를 치면 다른 입력한 username 계정으로 바뀐다.


sudo 권한이 있는 username 이나 이걸 모르면 그냥 root 계정으로 바꾼 후에


sudo adduser [username] sudo


를 입력하면 sudoer 그룹에 username 이 추가되어 sudo 명령어를 수행할 수 있다.


'linux' 카테고리의 다른 글

turn off beep sound on linux  (0) 2018.03.22
vivado GUI xserver permission error  (0) 2018.03.22
printing duplex problem on linux  (0) 2018.03.15
install vivado on linux  (0) 2018.03.15
vim 명령어  (0) 2016.04.11

+ Recent posts