It's better replay to mail list. May be some one else can help you.
Other comments see below.
23.10.2014 10:36, Александр Глухов пишет:
Thank you, but I already red it. I create file with:
%define pfx /opt/freescale/rootfs/%{_target_cpu}
Summary : PostgreSQL for arm
Name : postgresql
Version : 9.3.5
Release : 1
License :
Vendor : PostgreSQL
Packager :
Group : System Environment/Libraries
URL : http:// <http://xxxx/>
Source : %{name}-%{version}.tar.bz2
BuildRoot : %{_tmppath}/%{name}
Prefix : %{pfx}
%Description
%{summary}
%Prep
%setup
%Build
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
make
%Install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
%Clean
rm -rf $RPM_BUILD_ROOT
%Files
%defattr(-,root,root)
%{pfx}/*
but I get error, when run ./ltib -p postgresql.spec
checking for zic... no
configure: error:
When cross-compiling, either use the option --with-system-tzdata to use
existing time-zone data, or set the environment variable ZIC to a zic
program to use during the build.
As I can see this package need zic or use the option --with-system-tzdata.
error: Bad exit status from
/home/ubuntu/Projects/TionPro28/ltib/ltib/tmp/rpm-tmp.2856 (%build)
Thu, 23 Oct 2014 10:22:36 +0600 от Sergey Ablalimov <[email protected]>:
I hope this help you http://www.ltib.org/documentation-LtibFaq#ref_89
22.10.2014 17:50, Александр Глухов пишет:
> Hello, I have a problem in LTIB. I need to install PostgreSQL on
ARMv5
> with tcp/ip access. I'm trying to do it in LTIB. I already downloaded
> sources and put it in rpm/SOURCES. And now I need to create a
> postgresql.spec file. Could you help me in it, because I have not
> enought experience in it? Thank you in advance.
http://www.ltib.org/documentation-LtibFaq#ref_89 recommend put your
source at /opt/freescale/pkgs/
>
> With best regards,
> Alexandr Glukhov
>
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> [email protected] </[email protected]>
> https://lists.nongnu.org/mailman/listinfo/ltib
>
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected] </[email protected]>
https://lists.nongnu.org/mailman/listinfo/ltib
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib