XDM en NetBSD usando el X11 del pkgsrc
2008-01-13 13:18:55-06
BSD
Sólo sigue estos pasos:
- Primero eliminamos el directorio de configuración por default (no te preocupes, está vacío):
[#] rmdir /etc/X11/xdm
- Ahora creamos el enlace del directorio de configuración del XDM del pkgsrc:
[#] ln -s /usr/pkg/lib/X11/xdm /etc/X11
- Cambiamos el nombre del viejo script de inicio del XDM:
[#] mv /etc/rc.d/xdm /etx/rc.d/xdm.old
- Ahora creamos el enlace del script de inicio del XDM del pkgsrc:
[#] ln -s /usr/pkg/share/examples/rc.d/xdm /etc/rc.d
- Habilitamos el XDM en cada booteo:
[#] vi /etc/rc.conf
# Let's use XDM
xdm=YES
xdm_flags=""
# Let's use XDM
xdm=YES
xdm_flags=""
- Habilitamos una consola virtual para el XDM:
[#] vi /etc/X11/xdm/Xservers
:0 local /usr/pkg/bin/X :0 vt04
:0 local /usr/pkg/bin/X :0 vt04
- Y descativamos la terminal que le corresponde para que no entre en conflicto con el XDM:
[#] vi /etc/ttys
ttyE3 "/usr/libexec/getty Pc" vt220 off secure
ttyE3 "/usr/libexec/getty Pc" vt220 off secure
- Reiniciamos y listo.
Permalink: http://www.mononeurona.org/users/entry/asarch/1051
Comentblogs:1.-
asarch wrote:
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
gmake[3]: *** [ref_softx.la] Error 1
gmake[3]: Leaving directory `/second_root/pkgsrc/games/quake2forge/work/quake2-0.3/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/second_root/pkgsrc/games/quake2forge/work/quake2-0.3/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/second_root/pkgsrc/games/quake2forge/work/quake2-0.3'
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /second_root/pkgsrc/games/quake2forge
*** Error code 1
Stop.
bmake: stopped in /second_root/pkgsrc/games/quake2forge
2008-01-14 11:59:32-06
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
gmake[3]: *** [ref_softx.la] Error 1
gmake[3]: Leaving directory `/second_root/pkgsrc/games/quake2forge/work/quake2-0.3/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/second_root/pkgsrc/games/quake2forge/work/quake2-0.3/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/second_root/pkgsrc/games/quake2forge/work/quake2-0.3'
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /second_root/pkgsrc/games/quake2forge
*** Error code 1
Stop.
bmake: stopped in /second_root/pkgsrc/games/quake2forge
2008-01-14 11:59:32-06
2.-
scarecrow wrote:
memory_chunk.cc: In member function `bool torrent::MemoryChunk::advise(uint32_t, uint32_t, int)':
memory_chunk.cc:124: error: `madvise' undeclared (first use this function)
memory_chunk.cc:124: error: (Each undeclared identifier is reported only once for each function it appears in.)
gmake[3]: *** [memory_chunk.lo] Error 1
gmake[3]: Leaving directory `/second_root/pkgsrc/net/libtorrent/work/libtorrent-0.11.7/src/data'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/second_root/pkgsrc/net/libtorrent/work/libtorrent-0.11.7/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/second_root/pkgsrc/net/libtorrent/work/libtorrent-0.11.7'
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /second_root/pkgsrc/net/libtorrent
*** Error code 1
Stop.
bmake: stopped in /second_root/pkgsrc/net/libtorrent
*** Error code 1
Stop.
bmake: stopped in /second_root/pkgsrc/net/rtorrent
2008-01-14 21:25:44-06
memory_chunk.cc: In member function `bool torrent::MemoryChunk::advise(uint32_t, uint32_t, int)':
memory_chunk.cc:124: error: `madvise' undeclared (first use this function)
memory_chunk.cc:124: error: (Each undeclared identifier is reported only once for each function it appears in.)
gmake[3]: *** [memory_chunk.lo] Error 1
gmake[3]: Leaving directory `/second_root/pkgsrc/net/libtorrent/work/libtorrent-0.11.7/src/data'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/second_root/pkgsrc/net/libtorrent/work/libtorrent-0.11.7/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/second_root/pkgsrc/net/libtorrent/work/libtorrent-0.11.7'
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /second_root/pkgsrc/net/libtorrent
*** Error code 1
Stop.
bmake: stopped in /second_root/pkgsrc/net/libtorrent
*** Error code 1
Stop.
bmake: stopped in /second_root/pkgsrc/net/rtorrent
2008-01-14 21:25:44-06










