|
From: Xenia <yo...@go...> - 2011-08-19 12:31:32
|
Am 19.08.2011 10:45, schrieb Christoph Bersch: > On 19.08.2011 10:12, Mojca Miklavec wrote: >> >>> But then I got: >>> --------------------- >>> $ ./prepare >>> >>> ./prepare: 47: aclocal: not found >>> >>> Some part of the preparation process failed. >>> Please refer to INSTALL for details. >>> --------------------- >>> >>> And in "INSTALL" and "INSTALL.gnu" the first step is to do >>> $ ./configure >>> but I only have a configure.in and configure.vms -file. >>> I'm quite confused. >>> So I installed it from the debian-repositories (for sure without any >>> context-implementation), but you could just tell me, how I can make your >>> version work. :-) >> >> One option is probably also to patch gnuplot source package from >> Debian repositories, I don't know how to do that since I don't use >> Debian (but you only need to add context.trm to other terminals and >> add one #include "context.trm" line to src/term.h). > > I guess this is the easiest option if you have no experience with > compilation of source code. > I hope, the following steps do what you need (I do not run wheezy). If > not, just ask again :-) > > Get the source code of the debian package: > apt-get source gnuplot > > Install the required dependencies for building gnuplot (this can be a lot!): > apt-get build-dep gnuplot > > Change the code like Mojca wrote: > 1. copy context.trm to gnuplot-4.4*/term/ (I do not know the exact > version number) > 2. Add #include "context.trm" at the end of file term.h (right before > the last #endif statement) > > cd gnuplot-4.4* > dpkg-buildpackage Something went wrong here. No .deb-file were created, an errormessage appeared (unfortenately I didn't save it). After I did some things (don't remember what I actually did), I tried it again and were requested to do a $ make distclean before. But again trying to build the package I got now: $ sudo dpkg-buildpackage dpkg-buildpackage: exportieren von CFLAGS aus dpkg-buildflags (Quelle: vendor): -g -O2 dpkg-buildpackage: exportieren von CPPFLAGS aus dpkg-buildflags (Quelle: vendor): dpkg-buildpackage: exportieren von CXXFLAGS aus dpkg-buildflags (Quelle: vendor): -g -O2 dpkg-buildpackage: exportieren von FFLAGS aus dpkg-buildflags (Quelle: vendor): -g -O2 dpkg-buildpackage: exportieren von LDFLAGS aus dpkg-buildflags (Quelle: vendor): dpkg-buildpackage: Quellpaket gnuplot dpkg-buildpackage: Quellversion 4.4.0-1.1 dpkg-buildpackage: Quellen geändert durch Agustin Martin Domingo <agm...@de...> dpkg-buildpackage: Host-Architektur amd64 dpkg-source --before-build gnuplot-4.4.0 debian/rules clean QUILT_PATCHES=debian/patches \ quilt --quiltrc /dev/null pop -a -R || test $? = 2 Patch debian-changes-4.4.0-1.1 kann nicht entfernt werden (Patch aktualisieren oder entfernen erzwingen mit -f) make: *** [unpatch] Fehler 1 dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules clean war 2 Means I have to remove or update the patch debian-changes… first. But I'm overextended. :-( > Go and drink a coffee... > > Install the .deb package manually: > > cd .. > dpkg -i gnuplot*.deb > > Mark those packages with 'hold' so that they are not overwritten on the > next upgrade (and this may happen soon on testing): > > echo gnuplot hold | dpkg --set-selections > echo gnuplot-doc hold | dpkg --set-selections > echo gnuplot-nox hold | dpkg --set-selections > echo gnuplot-x11 hold | dpkg --set-selections > > > Christoph > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |