/srv/irclogs.ubuntu.com/2012/01/26/#upstart.txt

* trapni waves10:21
trapnihey. did anyone ever run into http://pastie.org/3255470 while trying to install upstart from source?10:22
jodhtrapni: I'm guessing you are attempting to build this on lucid?10:27
trapnijodh: exactly! :)10:28
trapnijodh: the thing is, I have to use lucid10:28
jodhtrapni: problem is that your libnih and also your libdbus are too old - no support for DBUS_TYPE_UNIX_FD.10:28
trapnijodh: and unfortunately, the other thing is, I cannot use OpenVZ, so I am using linux-vserver (lucid is the guest, Gentoo is the hypervisor), and I am trying to get around the getpid() > 1 error10:29
trapniaha!10:29
trapniyeah, just installed libnih from source (1.0.2)10:29
trapniso I got to install dbus from source, too?10:29
trapnior can I just add another repo to the sources.list w/o conflicting too much against lucid?10:29
trapniI am not *that* experienced with ubuntu yet :|10:30
jodhjodh: I believe you'll need to rebuild dbus, yes.10:30
trapnifine with me, just wanted to make sure there's something better in place :)10:30
* trapni just hopes these packages will not conflict with the remaining binaries in the system :)10:31
jodhtrapni: good luck!10:31
trapnihaha, thanks :)10:31
trapnijodh: maybe you know, is it okay to just ./configure --prefix=/usr or how's dbus configured on ubuntu for the bin packages?10:32
trapniah, and --sysconfdir=/etc/dbus-110:32
jodhtrapni: here's the current i386 lucid build log showing the configure line: https://launchpadlibrarian.net/76041392/buildlog_ubuntu-lucid-i386.dbus_1.2.16-2ubuntu4.3_BUILDING.txt.gz10:33
trapniah10:34
trapnithanks :)10:34
trapnijodh: hm, that's strange, the log says  --sysconfdir=/etc but on my system it seems to be /etc/dbus-1 ...10:35
jodhtrapni: maybe the 'dbus-1' gets tacked onto sysconfdir prefix?10:36
trapnithat would be unusual, but i'll see10:38
trapnijodh: I start to get the feeling, that I have to compile more by hand on non-source distros as on source distros :-)10:40
trapnijodh: you were right, --sysconfdir=/etc puts files into /etc/dbus-1.10:43
trapniwhatever...10:43
trapnijodh: http://pastie.org/3255560 now I am running into this compile error :(10:49
trapnido you know where this comes from?10:49
jodhtrapni: looks like the build isn't using the latest version of nih-dbus-tool10:49
jodhtrapni: check your path to ensure it's picking up the version from your 1.0.2 build.10:50
jodhtrapni: if it is, make sure you reconfigure.10:50
trapnimhm...10:50
trapniyep10:50
trapnii'm getting crazy, make distclean && ./configure --the-recommended-things && make runs now into http://pastie.org/3255572 (nih-dbus-tool --version returns 1.0.2)10:52
trapnishould I try 1.0.3 instead? (AFAIR I could download that one, too on code.google.com)10:53
jodhtrapni: it stil looks like you're using the wrong nih-dbus-tool.10:58
trapnihmm11:02
trapnitrying to reinstall nih then11:02
trapnijodh: not that wrong, look at http://pastie.org/3255626 /usr/bin/nih-dbus-tool links against [no /usr]/lib/libnih.so.111:03
trapniit's because libnih1's lib is in /lib, but I passed --prefix=/usr to it11:06
trapnijodh: I am really pretty sure to run against the right libnih/dbus version, please see http://pastie.org/3255731 - hope it helps :)11:27
jodhtrapni: you're using an old nih-dbus-tool - you need 1.0.311:29
trapnimom11:30
trapnijodh: okay, I read about >= 1.0.2 in configure.ac. let me use 1.0.3 then :)11:31
jodhtrapni: why did you choose 1.0.2 out of interest?11:31
trapnijodh: because that's been what I read in upstart's configure.ac file11:33
jodhtrapni: you're using an old upstart too though :)11:33
trapnilucid comes with 1.0.1 by default, so upstart's ./configure script failed initially11:33
trapniI first just hacked this line to 1.0.1 and assumed it's just containing "bug fixes" as diff between 1.0.1 and 1.0.2, however it appearantly didn't11:33
trapniso I reset upstart's configure{,.ac} and installed libnih 1.0.2 from source, and then ran into the dbus issues11:34
trapnifeel all like a mess11:34
trapnijodh: but FYI, with 1.0.3 the upstart now compiles fine :)11:34

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!