프로그램 사용/apache2010. 1. 11. 12:18
아파치에서 하는 xml graphic 프로젝트로
xml의 내용을 svg 포맷으로 변환하여 이미지로 출력하는듯 하다.
(머.. 웹서버 깔고 귀차니즘.. 확인안함)

사족 : 저~~얼대 웹브라우저에 탭을 하나 차지하고 있기에 이걸 없애려고 글쓴거라고 할수 없다고는 못함.

[링크 : http://xmlgraphics.apache.org/batik/using/dom-api.html]

'프로그램 사용 > apache' 카테고리의 다른 글

ab - apache HTTP server benchmarking tool  (0) 2014.10.10
apache 특정 디렉토리만 인증하기  (0) 2013.04.09
500 internal server error - mediawiki 이전시  (0) 2011.12.18
apache - url rewrite  (2) 2011.04.26
webDAV  (0) 2010.11.19
Posted by 구차니
임베디드 개발하다보면, 크로스 컴파일은 밥먹듯 하는데..
가끔 황당한 오류가 바로 ld 관련 오류이다.

ntfs_3g_usermap-usermap.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [ntfs-3g.usermap] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

이녀석은 ntfs-3g 라는 녀석인데, 크로스 컴파일을 하려니 이러한 오류가 발생했다.
조금은 뜬금없기도 하고, 옵션도 문제가 없는데 왜 이러냐면은..


원인 : 크로스 컴파일 이전에 컴파일 되는지 확인하기 위해 호스트에서(i686-linux) 컴파일을 이미 했기 때문!
해결 : 머. make clean 한번 하고 ./configure 다시 해주고..

결론 : 잊지말자 make clean!



사족 : File in wrong format 인건, 당연히 링커가 아키텍쳐가 다른 파일을 조작하려 하니 포맷을 알리가 ㅋㅋ
         이런 경우에는 갸우뚱 하지 말고 make clean 하고 다시 컴파일 하는게 상책이다.

'프로그램 사용 > 실패기' 카테고리의 다른 글

svn+ssh 사용하도록 설정 실패  (0) 2009.05.10
xgprof - gnome based gprof GUI frontend  (0) 2009.04.27
ponyprog FC9에서 실행 실패 / avrdude 실패  (0) 2009.04.20
kscope OTL  (0) 2009.04.20
Posted by 구차니
프로그램 사용/VLC2010. 1. 6. 11:26

http://m.youtube.com/ 에서 임의의 파일을 재생하려 하면
일단 rtsp 프로토콜에 연결된 프로그램이 없다고 오류가 발생한다.


그래서 VLC에서 재생하면 될 줄 알았더니..
오디오 코덱이 없어서 재생할수 없다고 오류를 발생한다.


[링크 : http://wiki.videolan.org/VLC_Features_Formats]

아무튼 VLC에 이 코덱이 없는건 아니지만, 법적인 문제로 이 코덱을 포함하지 못했으므로
소스를 받아 컴파일을 해서 써야 한다고 한다.
[링크 : http://forum.videolan.org/viewtopic.php?f=7&t=22318]

검색하다 보니 QuickTime 에서도 된다고 하는데,
rtsp 주소를 복사하는 바람에 안되는건지, 아무튼 최신버전을 깔아도 안된다.



20100113 추가
[링크 : http://ubuntuforums.org/showthread.php?t=178455]

'프로그램 사용 > VLC' 카테고리의 다른 글

VLC configure --help  (0) 2010.01.13
VLC로 웹캠 녹화하기  (4) 2010.01.12
VLC 웹 인터페이스 원격지에서 안될경우  (2) 2009.12.08
VLC를 이용한 웹캠보기  (0) 2009.12.02
VLC 네트워크 플레이 옵션  (4) 2009.11.25
Posted by 구차니
프로그램 사용2010. 1. 5. 10:58
웹브라우저에서 모든 영상과 이미지를 video wall 형식으로 보여주는 녀석이다.
윈도우용 Firefox와 IE를 지원한다.(크롬은 베타)

단점 : 한글지원 미흡 / 오프라인 사용불가 / 지원되는 홈페이지가 많지 않음 / 브라우저 지원폭이 좁음



아무튼 cooliris에 빠져 봅시다~!

^ 요녀석
Firefox 에서는 설치하면 검색탭 오른쪽에 런쳐 아이콘이 추가된다.
일단 이 아이콘을 눌러준다 쿡!


휠로 밀어서(위로) 줌아웃/ 휠로 땡겨서(아래) 줌인하면
위와 같이 미리보기 식으로 사용할수도 있다.


그중 하나의 이미지나 동영상을 더블 클릭하면 전체화면이나 동영상 재생이 시작된다.


왼쪽의 My Computer 탭을 이용하면 로컬 컴퓨터에 저장된
동영상/이미지를 wall 형식으로 볼 수 있다.(오프라인에서 사용불가)


좌우로 드래그 하거나 아래의 파란색 스크롤 바를 좌우로 움직이면
이런식으로 애니메이션 되어 연속적으로 볼수 있다.


파워 블로거들의 대세를 따라(?) 위의 검색을 youtube로 바꾸고 '소녀시대'로 검색한 화면
한글지원에 문제가 있는지, 한글이 보이지는 않지만 검색은 되어나온다.
(술은 먹었지만 운주운전은 아닌것과 같은 느낌 -ㅁ-)



cooliris.com 으로 IE에서 접속하니 IE에서도 사용 가능하단다!!


[링크 : https://addons.mozilla.org/ko/firefox/addon/5579] <- 파폭 유저
[링크 : http://www.cooliris.com/static/releases/cooliris-win-iefull-release-1.11.6.31225.en-US.msi] <- IE7,8 유저

[링크 : http://www.cooliris.com/product/?ref=start]
Posted by 구차니
프로그램 사용/VNC2009. 12. 30. 21:16
시스템 - 기본설정 메뉴에서
"원격 데스크탑"과 "시작 응용 프로그램" 을 설정한다.

원격 데스크탑에서는, 공유에서 두가지 체크
보안에서 암호 입력과 자동 네트워크 설정 체크
취향에 따라 알림 영역에 아이콘 표시를 해주거나 하지 않으면 된다.

하지만, 위에까지만 해서는 자동으로 원격 데스크탑이 시작되지 않으므로
시작 프로그램 기본 설정에서 원격 데스크탑을 체크 해주어야 한다.

[링크 : http://minimonk.tistory.com/397]

'프로그램 사용 > VNC' 카테고리의 다른 글

tsclient에 VNC 추가하기  (0) 2011.12.31
UVNC - Ultra VNC  (2) 2010.11.26
Fedora Core 6에 VNC 설치하기  (0) 2009.07.22
tightVNC 서버사용기  (0) 2009.04.02
tightVNC / realVNC  (0) 2009.03.13
Posted by 구차니
프로그램 사용/u-boot2009. 12. 30. 12:26
당연한것 일수도 있지만, u-boot에서 kernel로 argument를 날려주고
그 인자들 중, NIC 관련 변수들을 파싱하여 자동으로 네트워크를 설정하게 되는데
인자를 ' '(홀따옴표)로 감싸주어 커널에서 파싱하도록 할 수 있다.

물론, bootargs에 한번에 넣어서는 불가능하며,
run 명령어를 통해서 인자를 생성후 넘겨주는 방식을 취한다.

We can use U-Boot environment variables to store all necessary configuration parameters:

=> setenv ipaddr 192.168.100.6
=> setenv serverip 192.168.1.1
=> setenv netmask 255.255.0.0
=> setenv hostname canyonlands
=> setenv rootpath /opt/eldk-4.2/ppc_4xx
=> saveenv

Then you can use these variables to build the boot arguments to be passed to the Linux kernel:

=> setenv nfsargs 'root=/dev/nfs rw nfsroot=${serverip}:${rootpath}'


Note: You cannot use this method directly to define for example the "bootargs" environment variable, as the implicit usage of this variable by the "bootm" command will not trigger variable expansion - this happens only when using the "setenv" command.

[링크 : http://www.denx.de/wiki/DULG/LinuxBootArgs]


사용예
setenv nfsargs 'setenv bootargs console=ttyAS0,115200 root=/dev/mtdblock2 rootfstype=cramfs'
setenv addip 'setenv bootargs ${bootargs} nwhwconf=device:eth0,hwaddr:${ethaddr}
                    ip=${ipaddr}::${gateway}:${netmask}:${histname}::off'
setenv bootcmd 'run nfsargs addip\; tftp 0x84400000 uImage\; bootm'

아무튼, bootcmd 에 'run' 을 통해서 bootargs를 생성후 임시 변수를 커널로 넘겨주는 방식이다.
(실제로 bootargs 변수는 uboot에 존재하지 않는다.)
Posted by 구차니
XP Tablet Edition의 날으는 키보드와 유사한 필기인식 및 화상키보드 프로그램이다.

기본적으로 필기인식 모습은 위와 같고,

Keys를 누르면
화상 키보드로 변신한다.


CellWriter는 유니코드에서 지원하는 모든 다국어를 지원하고 하는데
Setup을 누르고 들어가면

Languages 탭에서 Unicode 블럭중 언어를 고를 수 있다.

특이하게도(?) Korean 대신에 Hangul 이라고 되어있고
한글이 들어가는 것은 세부분이 있다.

Hangul Compatibility Jamo(한글 호환 자모)

Hangul Jamo(한글 자모)

Hangul Syllables (한글 음절)

그런데 음절은 하나도 안나오고, 다른 부분도
한글이라기 보다는 초/중/종성으로 나뉘는 것같다.

자세한건, 타블렛 노트북에 설치해보고 일단 한글 인식이 되는지를 알아봐야겠다.

[링크 : http://risujin.org/cellwriter/]



2010.01.06 추가
한글은 자소별로 인식을 한다. 프로그램 수정이 필요할 듯.

'프로그램 사용 > CellWriter' 카테고리의 다른 글

CellWriter 컴파일 하기 / 한글적용  (0) 2010.01.18
CellWriter 소스코드  (0) 2010.01.18
Posted by 구차니
프로그램 사용/busybox2009. 12. 29. 14:47
windows나 linux에서는 static / dhcp 변환이 자유롭다.
박스에서 이 기능을 구현하기 위해 ifup / ifdown 을 사용하여 구현을 하려고 했다.

일단 구현되어야 할 내용은
static -> dhcp
dhcp -> static
인데, 문제는 dhcp -> static이었다.

이유는 모르겠지만,
# ifdown -i interface.dhcp eth0
# ifup -i interface.static eth0
를 해도 dhcp에서 받아왔던 아이피로 남아있는데

일단 미봉책으로
# ifdown -i interface.dhcp eth0
# ifup -i interface.static eth0
# ifdown -i interface.static eth0
# ifup -i interface.static eth0
이렇게 static한 설정을 한번더 down/up 해주니 문제없이 아이피가 설정이 된다.

대부분의 예제 파일들이,

static up/down
dhcp up
예제만 있지,

dhcp down
static -> dhcp
는 존재하지 않는다.

아무튼, 일단은 되는게 장땡 -ㅁ-!
Posted by 구차니
프로그램 사용2009. 12. 27. 14:59
Windows XP일 경우  SP3 이상에서만 실행이 된다고 한다.


업데이트 해야 하나 ㅠ.ㅠ

'프로그램 사용' 카테고리의 다른 글

freeciv - 문명 오픈소스  (6) 2010.01.20
Cooliris (piclens)  (6) 2010.01.05
BeeGIF - 대박 GIF 프로그램!  (2) 2009.12.13
rtsp를 지원하는 스트리밍 서버 - live555  (0) 2009.11.13
Free 3D 프로그램  (0) 2009.10.01
Posted by 구차니
프로그램 사용/busybox2009. 12. 23. 15:58
udhcp는 dhcp client 겸, network setting tool이다.
아무튼 busybox에서 채택하고 있는 dhcp client 이며, 나름 쓸만한 녀석이다.

######################################################################
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
#
# A "#" character in the very first column makes the rest of the line
# be ignored. Blank lines are ignored. Lines may be indented freely.
# A "\" character at the very end of the line indicates the next line
# should be treated as a continuation of the current one.
#
# The "pre-up", "up", "down" and "post-down" options are valid for all
# interfaces, and may be specified multiple times. All other options
# may only be specified once.
#
# See the interfaces(5) manpage for information on what options are
# available.
######################################################################

# We always want the loopback interface.
#
# auto lo
# iface lo inet loopback

# An example ethernet card setup: (broadcast and gateway are optional)
#
# auto eth0
# iface eth0 inet static
#     address 192.168.0.42
#     network 192.168.0.0
#     netmask 255.255.255.0
#     broadcast 192.168.0.255
#     gateway 192.168.0.1

# A more complicated ethernet setup, with a less common netmask, and a downright
# weird broadcast address: (the "up" lines are executed verbatim when the
# interface is brought up, the "down" lines when it's brought down)
#
# auto eth0
# iface eth0 inet static
#     address 192.168.1.42
#     network 192.168.1.0
#     netmask 255.255.255.128
#     broadcast 192.168.1.0
#     up route add -net 192.168.1.128 netmask 255.255.255.128 gw 192.168.1.2
#     up route add default gw 192.168.1.200
#     down route del default gw 192.168.1.200
#     down route del -net 192.168.1.128 netmask 255.255.255.128 gw 192.168.1.2

# A more complicated ethernet setup with a single ethernet card with
# two interfaces.
# Note: This happens to work since ifconfig handles it that way, not because
# ifup/down handles the ':' any differently.
# Warning: There is a known bug if you do this, since the state will not
# be properly defined if you try to 'ifdown eth0' when both interfaces
# are up. The ifconfig program will not remove eth0 but it will be
# removed from the interfaces state so you will see it up until you execute:
# 'ifdown eth0:1 ; ifup eth0; ifdown eth0'
# BTW, this is "bug" #193679 (it's not really a bug, it's more of a
# limitation)
#
# auto eth0 eth0:1
# iface eth0 inet static
#     address 192.168.0.100
#     network 192.168.0.0
#     netmask 255.255.255.0
#     broadcast 192.168.0.255
#     gateway 192.168.0.1
# iface eth0:1 inet static
#     address 192.168.0.200
#     network 192.168.0.0
#     netmask 255.255.255.0

# "pre-up" and "post-down" commands are also available. In addition, the
# exit status of these commands are checked, and if any fail, configuration
# (or deconfiguration) is aborted. So:
#
# auto eth0
# iface eth0 inet dhcp
#     pre-up [ -f /etc/network/local-network-ok ]
#
# will allow you to only have eth0 brought up when the file
# /etc/network/local-network-ok exists.

# Two ethernet interfaces, one connected to a trusted LAN, the other to
# the untrusted Internet. If their MAC addresses get swapped (because an
# updated kernel uses a different order when probing for network cards,
# say), then they don't get brought up at all.
#
# auto eth0 eth1
# iface eth0 inet static
#     address 192.168.42.1
#     netmask 255.255.255.0
#     pre-up /path/to/check-mac-address.sh eth0 11:22:33:44:55:66
#     pre-up /usr/local/sbin/enable-masq
# iface eth1 inet dhcp
#     pre-up /path/to/check-mac-address.sh eth1 AA:BB:CC:DD:EE:FF
#     pre-up /usr/local/sbin/firewall

# Two ethernet interfaces, one connected to a trusted LAN, the other to
# the untrusted Internet, identified by MAC address rather than interface
# name:
#
# auto eth0 eth1
# mapping eth0 eth1
#     script /path/to/get-mac-address.sh
#     map 11:22:33:44:55:66 lan
#     map AA:BB:CC:DD:EE:FF internet
# iface lan inet static
#     address 192.168.42.1
#     netmask 255.255.255.0
#     pre-up /usr/local/sbin/enable-masq $IFACE
# iface internet inet dhcp
#     pre-up /usr/local/sbin/firewall $IFACE

# A PCMCIA interface for a laptop that is used in different locations:
# (note the lack of an "auto" line for any of these)
#
# mapping eth0
#    script /path/to/pcmcia-compat.sh
#    map home,*,*,*                  home
#    map work,*,*,00:11:22:33:44:55  work-wireless
#    map work,*,*,01:12:23:34:45:50  work-static
#
# iface home inet dhcp
# iface work-wireless bootp
# iface work-static static
#     address 10.15.43.23
#     netmask 255.255.255.0
#     gateway 10.15.43.1
#
# Note, this won't work unless you specifically change the file
# /etc/pcmcia/network to look more like:
#
#     if [ -r ./shared ] ; then . ./shared ; else . /etc/pcmcia/shared ; fi
#     get_info $DEVICE
#     case "$ACTION" in
#         'start')
#             /sbin/ifup $DEVICE
#             ;;
#         'stop')
#             /sbin/ifdown $DEVICE
#             ;;
#     esac
#     exit 0

# An alternate way of doing the same thing: (in this case identifying
# where the laptop is is done by configuring the interface as various
# options, and seeing if a computer that is known to be on each particular
# network will respond to pings. The various numbers here need to be chosen
# with a great deal of care.)
#
# mapping eth0
#    script /path/to/ping-places.sh
#    map 192.168.42.254/24 192.168.42.1 home
#    map 10.15.43.254/24 10.15.43.1 work-wireless
#    map 10.15.43.23/24 10.15.43.1 work-static
#
# iface home inet dhcp
# iface work-wireless bootp
# iface work-static static
#     address 10.15.43.23
#     netmask 255.255.255.0
#     gateway 10.15.43.1
#
# Note that the ping-places script requires the iproute package installed,
# and the same changes to /etc/pcmcia/network are required for this as for
# the previous example.

# Set up an interface to read all the traffic on the network. This
# configuration can be useful to setup Network Intrusion Detection
# sensors in 'stealth'-type configuration. This prevents the NIDS
# system to be a direct target in a hostile network since they have
# no IP address on the network. Notice, however, that there have been
# known bugs over time in sensors part of NIDS (for example see
# DSA-297 related to Snort) and remote buffer overflows might even be
# triggered by network packet processing.
#
# auto eth0
# iface eth0 inet manual
#     up ifconfig $IFACE 0.0.0.0 up
#       up ip link set $IFACE promisc on
#       down ip link set $IFACE promisc off
#       down ifconfig $IFACE down

# Set up an interface which will not be allocated an IP address by
# ifupdown but will be configured through external programs. This
# can be useful to setup interfaces configured through other programs,
# like, for example, PPPOE scripts.
#
# auto eth0
# iface eth0 inet manual
#       up ifconfig $IFACE 0.0.0.0 up
#       up /usr/local/bin/myconfigscript
#       down ifconfig $IFACE down

[링크 : http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/]

[링크 : http://www.cyberciti.biz/tips/howto-ubuntu-linux-convert-dhcp-network-configuration-to-static-ip-configuration.html]

[링크 : http://pig.cs.upt.ro/cgi-bin/man/man2html?interfaces+5]
Posted by 구차니