You are not logged in.

#1 2011-04-07 21:36:53

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

[SOLVED] transmission remote gui svn will not build

This is what I get when trying to compile from AUR:

http://code.google.com/p/transmisson-remote-gui/issues/detail?id=410&colspec=ID%20Type%20Status%20Priority%20Stars%20Milestone%20OpSys%20SummaryNote: environment config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
TLazPackageGraph.CheckIfPackageNeedsCompilation  No state file for trcomp 1.0
[TExternalToolList.Run] CmdLine="/usr/bin/fpc -B  -MObjFPC -Scgi -O1 -gl -vewnhi -l -Fu/usr/lib/lazarus/lcl/units/i386-linux -Fu/usr/lib/lazarus/lcl/units/i386-linux/gtk2 -Fu/usr/lib/lazarus/packager/units/i386-linux -Fu/var/abs/local/yaourtbuild/transmission-remote-gui-svn/src/transmission-remote-gui/ -Fu. -FU/var/abs/local/yaourtbuild/transmission-remote-gui-svn/src/transmission-remote-gui/lib/i386-linux/ -dLCL -dLCLgtk2 trcomp.pas" WorkDir="/var/abs/local/yaourtbuild/transmission-remote-gui-svn/src/transmission-remote-gui/"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.4.2 [2010/11/14] for i386
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Linux for i386
Compiling trcomp.pas
Compiling vargrid.pas
Compiling varlist.pas
vargrid.pas(74,28) Hint: Parameter "Sender" not used
vargrid.pas(441,41) Error: Wrong number of parameters specified for call to "DrawGridCheckboxBitmaps"
grids.pas(3877,23) Hint: Found declaration: TCustomGrid.DrawGridCheckboxBitmaps(const LongInt,const LongInt,const TRect,const TCheckBoxState);
vargrid.pas(540,47) Error: Wrong number of parameters specified for call to "DrawGridCheckboxBitmaps"
grids.pas(3877,23) Hint: Found declaration: TCustomGrid.DrawGridCheckboxBitmaps(const LongInt,const LongInt,const TRect,const TCheckBoxState);
vargrid.pas(1002) Fatal: There were 2 errors compiling module, stopping
TExternalToolList.Run Exception: /var/abs/local/yaourtbuild/transmission-remote-gui-svn/src/transmission-remote-gui/vargrid.pas(1002) Fatal: There were 2 errors compiling module, stopping
ERROR: tool reported error

This also happens with some arbitrary svn versions 519,410 and 300. I've also posted here:
http://code.google.com/p/transmisson-re … %20Summary

Last edited by swanson (2011-04-08 07:31:20)

Offline

#2 2011-04-08 07:15:51

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED] transmission remote gui svn will not build

Ah, building remote-gui requiers Lazarus 0.9.28. Don't think  I can fix that. Xhexked ARM and oinly 0.9.29 can be found and it won't install with pacman.

Compiling transgui.lpr
PPU Loading /usr/lib/lazarus/lcl/units/i386-linux/gtk2/interfaces.ppu
PPU Invalid Version 91
Fatal: Can't find unit Interfaces used by transgui
ERROR: failed compiling of project /tmp/yaourt-tmp-root/aur-transmission-remote-gui/src/TransGUI/transgui.lpi

See if I can get some other fpc version.

Offline

#3 2011-04-08 07:30:42

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED] transmission remote gui svn will not build

Solved! Got fpc 2.2.5 and Lazarus 0.9.29 from ARM and they installed fine. Transmission-remote-gui then compiled fine and seems to work nicely.

Offline

#4 2011-04-08 08:23:18

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: [SOLVED] transmission remote gui svn will not build

On a side note, have you tried this package?
http://aur.archlinux.org/packages.php?ID=40127
No need for Lazarus and co., works fine here.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#5 2011-04-08 08:42:12

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED] transmission remote gui svn will not build

Yes I did, but the fontsize in the app is just way too small on my screen and that size is hardcoded (sizes 11 and 8). This app has no way of customizing looks apart from editing the source (main.pas), it seems.

Offline

#6 2011-04-08 19:58:42

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED] transmission remote gui svn will not build

Finally! Lazarus 0.9.28 easily compiled from source manually. And install fpc 2.4.0 from ARM. Then I had to edit the PKGBUILD and delete 'lazarus' as dependency since it otherwise wuold install 0.9.30 again.. . Violá! Compiled and really seems to be working. One problem was that lazarus 0.9.28 wasn't in the ARM.

EDIT; instructions;
Download lazarus 0.9.28: http://mirrors.iwi.me/lazarus/releases/ … rc.tar.bz2
fpc 2.4.0: http://arm.konnichi.com/community/os/i6 … pkg.tar.gz

Uninstall any previuos fpc and lazarus
Install downloaded fpc (pacman -U fpc-2.4.0-1-i686.pkg.tar.gz)
Unpack compile and install lazarus (make clean all, make install)
Begin install transgui - yaourt -S transmission-remote-gui-svn - during install edit PKGBUILD and delete the makedepends 'lazarus'. Continue build. Should be ok.

Maybe it's possible to do a PKGBUILD on lasarus 0.9.28, and an alernative  one for transgui but it's a bit over my horizon.

Last edited by swanson (2011-04-09 05:51:52)

Offline

Board footer

Powered by FluxBB