<< | Index | >>
de.oddb.org
Update exporter job to handle these ODDB object.
Then export only a Fachinfo that it has Text::Table Object in paragraph.
http://oddb.yasuhiro.org/de/gcc/fachinfo/reg/41291
export_fachinfo in src/plugin/yaml.rb
72 #export_array(name, @app.fachinfos.values) 73 target = [@app.registration('41291').fachinfo] 74 export_array(name, target)
ch.oddb> Exporter.new(self).export_fachinfo_yaml fachinfo.yaml
exported fachinfo.yaml
... - !oddb.org,2003/ODDB::Text::Table rows: - - !oddb.org,2003/ODDB::Text::Cell formats: - !oddb.org,2003/ODDB::Text::Format values: [] start: 0 end: -1 text: Erreger preformatted: false - !oddb.org,2003/ODDB::Text::Cell formats: - !oddb.org,2003/ODDB::Text::Format values: [] start: 0 end: -1 text: Sensibel preformatted: false ...
Attach:table-in-parafraph-fachinfo-yaml-20120331.txt
Updating works fine.
checked as firefox.epub
# title Ebook compendium_ch.oddb.org.firefox.epub finished at 31.03.2012 14:11:08 # body Input file for conversion: /home/yasu/Documents/workspace/ywesee/ebps/data/yaml/fachinfos.ch.oddb.yaml The Ebook compendium_ch.oddb.org.firefox.epub was generated and stored in /home/yasu/Documents/workspace/ywesee/ebps/data/books Postprocess: the following commands were executed - mv compendium_ch.oddb.org.firefox.epub /var/www/oddb.org/data/downloads/compendium_ch.oddb.org.firefox.epub in directory /home/yasu/Documents/workspace/ywesee/ebps/data/books/
Attach:compendium_ch.oddb.org.firefox-20120331.epub.txt
updated following wiki pages(installed gems usw)
I could run oddbd of de.oddb.org fine.
remains setup mod_ruby
$ sudo /etc/init.d/apache2 restart * apache2 has detected an error in your setup: apache2: Syntax error on line 164 of /etc/apache2/httpd.conf: Cannot load /usr/local/apache/libexec/mod_ruby.so into server: /usr/local/apache/libexec/mod_ruby.so: cannot open shared object file: No such file or directory * ERROR: apache2 failed to stop
$ ldd /usr/lib/apache2/modules/mod_ruby186.so linux-gate.so.1 => (0xb77db000) librt.so.1 => /lib/librt.so.1 (0xb75f2000) libdl.so.2 => /lib/libdl.so.2 (0xb75ee000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb75bd000) libm.so.6 => /lib/libm.so.6 (0xb7597000) libc.so.6 => /lib/libc.so.6 (0xb7438000) /lib/ld-linux.so.2 (0xb77dc000) libpthread.so.0 => /lib/libpthread.so.0 (0xb741e000) $ ldd /usr/lib/apache2/modules/mod_ruby193.so linux-gate.so.1 => (0xb7867000) libruby.so.1.9 => /usr/local/lib/libruby.so.1.9 (0xb762d000) libpthread.so.0 => /lib/libpthread.so.0 (0xb75fb000) librt.so.1 => /lib/librt.so.1 (0xb75f2000) libdl.so.2 => /lib/libdl.so.2 (0xb75ee000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb75bc000) libm.so.6 => /lib/libm.so.6 (0xb7596000) libc.so.6 => /lib/libc.so.6 (0xb7438000) /lib/ld-linux.so.2 (0xb7868000)
dynamic library
static library
then compiled and patched 1.8.6, again.
ruby 1.8.6
$ ./configure --prefix=/home/yasu/usr/local --disable-option-checking --with-openssl-dir=/home/yasu/usr/local --enable-shared --libdir=/home/yasu/usr/local/lib
mod_ruby
$ ~/usr/local/bin/ruby ./configure.rb --prefix=/home/yasu/usr/local --exec-prefix=/home/yasu/usr/local --with-apxs=/usr/sbin/apxs --with-apr-includes=/usr/include/apr-1
ldd /usr/lib/apache2/modules/mod_ruby186.so
linux-gate.so.1 => (0xb78b2000) libruby.so.1.8 => /usr/lib/libruby.so.1.8 (0xb77ac000) librt.so.1 => /lib/librt.so.1 (0xb778b000) libdl.so.2 => /lib/libdl.so.2 (0xb7787000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7756000) libm.so.6 => /lib/libm.so.6 (0xb772f000) libc.so.6 => /lib/libc.so.6 (0xb75d1000) libpthread.so.0 => /lib/libpthread.so.0 (0xb75b7000) /lib/ld-linux.so.2 (0xb78b3000)
$ sudo rm -fr /usr/lib/libruby.so.1.8 $ sudo ln -s /home/yasu/usr/local/lib/libruby.so.1.8.6 /usr/lib/libruby.so.1.8
Hello de.oddb.org
NOTE
If switch these, to make sure that folloiwng setting.
httpd.conf
)
/usr/lib/libruby.so.1.8
)
/home/yasu/usr/local/bin/ruby
TODO:
to check ruby-build