Alejandro, I was able to move on, added a few dependant packages, and now
stuck again with this result:

find . -name "*.o" -o -name "*.i" -o -name "*.a" | xargs rm -f
rm -f core gw-config wmlscript/wmlsc wmlscript/wmlsdasm utils/seewbmp
utils/mtbatch gw/bearerbox gw/smsbox gw/wapbox utils/run_kannel_box
test/decode_emimsg test/decompile test/drive_smpp test/drive_wapbox
test/fakesmsc test/fakewap test/test_boxc test/test_cfg test/test_charset
test/test_cimd2 test/test_conn test/test_dbpool test/test_dict
test/test_headers test/test_hmac test/test_http test/test_http_server
test/test_list test/test_md5 test/test_mem test/test_mime
test/test_mime_multipart test/test_msg test/test_octstr_dump
test/test_octstr_format test/test_octstr_immutables test/test_ota
test/test_pap test/test_pcre test/test_pdu test/test_ppg test/test_prioqueue
test/test_radius_acct test/test_radius_pdu test/test_regex test/test_si
test/test_sl test/test_smsc test/test_store_dump test/test_udp
test/test_urltrans test/test_uuid test/test_wakeup test/test_xmlrpc
test/timestamp test/udpfeed test/wapproxy test/wml_tester
checks/check_counter checks/check_date checks/check_ipcheck
checks/check_list checks/check_octstr
rm -f doc/userguide/sms-gateway.png doc/userguide/wap-gateway.png
doc/arch/bearerbox-arch.png doc/arch/conf-push-session.png
doc/arch/external-interfaces.png doc/arch/kannel-boxes.png
doc/arch/kannel-push-boxes.png doc/arch/pushbox-threads.png
doc/arch/wap-arch.png doc/arch/wap-session.png doc/arch/wapbox-threads.png
doc/userguide/sms-gateway.ps doc/userguide/wap-gateway.ps doc/arch/
bearerbox-arch.ps doc/arch/conf-push-session.ps doc/arch/
external-interfaces.ps doc/arch/kannel-boxes.ps doc/arch/
kannel-push-boxes.ps doc/arch/pushbox-threads.ps doc/arch/wap-arch.psdoc/arch/
wap-session.ps doc/arch/wapbox-threads.ps doc/alligata/11-1.ps doc/alligata/
11-3.ps doc/alligata/11-4.ps doc/alligata/11-5.ps
doc/alligata/12-10.psdoc/alligata/
12-11.ps doc/alligata/12-12.ps doc/alligata/12-13.ps
doc/alligata/12-2.psdoc/alligata/
12-3.ps doc/alligata/12-4.ps doc/alligata/12-5.ps
doc/alligata/12-6.psdoc/alligata/
12-7.ps doc/alligata/12-8.ps doc/alligata/12-9.ps
doc/alligata/13-5.psdoc/alligata/
done.ps doc/alligata/licences.ps doc/alligata/maininst.ps doc/alligata/
nearlydone.ps doc/alligata/nopro.ps doc/alligata/progress.ps doc/alligata/
wapdiagsmall.ps doc/wtls/fig10o.ps doc/wtls/fig1o.ps doc/wtls/fig2o.psdoc/wtls/
fig3o.ps doc/wtls/fig4o.ps doc/wtls/fig4out.ps doc/wtls/fig5o.ps doc/wtls/
fig5out.ps doc/wtls/fig6o.ps doc/wtls/fig6out.ps doc/wtls/fig6out1.psdoc/wtls/
fig7o.ps doc/wtls/fig8o.ps doc/wtls/fig9o.ps   doc/alligata/alligata.html
doc/arch/arch.html doc/userguide/userguide.html doc/wtls/wtls.html
doc/alligata/alligata.rtf doc/arch/arch.rtf doc/userguide/userguide.rtf
doc/wtls/wtls.rtf doc/alligata/alligata.ps doc/arch/arch.ps doc/userguide/
userguide.ps doc/wtls/wtls.ps doc/alligata/alligata.pdf doc/arch/arch.pdf
doc/userguide/userguide.pdf doc/wtls/wtls.pdf
rm -f benchmarks/report.pdf benchmarks/report.ps benchmarks/report.html
rm -rf "/tmp/kannel-rpm/kannel-cvs"
if [ -d /tmp/kannel-rpm ]; then rmdir "/tmp/kannel-rpm"; fi
rm -f kannel-cvs.tar kannel-cvs.tar.gz
Preparing to build the RPM files
mkdir -p "/tmp/kannel-rpm/kannel-cvs"
cp -R * "/tmp/kannel-rpm/kannel-cvs"
tar -C "/tmp/kannel-rpm" -c kannel-cvs -zf kannel-cvs.tar.gz
rm -rf "/tmp/kannel-rpm/kannel-cvs"
if [ -d /tmp/kannel-rpm ]; then rmdir "/tmp/kannel-rpm"; fi
Building the RPM
rpmbuild -ta kannel-cvs.tar.gz
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2569
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf /var/tmp/kannel-1.4.3-1.4.3-root
+ cd /usr/src/redhat/BUILD
+ rm -rf kannel-1.4.3
+ /bin/gzip -dc /root/installs/gateway-1.4.3/kannel-cvs.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd kannel-1.4.3
/var/tmp/rpm-tmp.2569: line 32: cd: kannel-1.4.3: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.2569 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.2569 (%prep)
make: *** [rpm] Error 1


I think it has something to do with directory configuration because I'm the
stable version instead of the CVS version.


Cassio


2009/5/19 Alejandro Guerrieri <[email protected]>

> Yes, remove the old rh6-7 .spec files laying on the utils/ folder.
>
> Hope it helps,
>
> Alejandro
>
> On Tue, May 19, 2009 at 7:04 PM, Cassio Bobsin Machado <[email protected]
> > wrote:
>
>> Alejandro,
>>
>> I was able to do it until the "make rpm" step.
>>
>> Here is the error I got:
>>
>> Makefile:355: .depend: No such file or directory
>> for dir in gw gw/smsc gwlib test utils wmlscript checks wap radius; do \
>>         for file in $dir/*.c; do \
>>             gcc -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
>> -D_BSD_SOURCE -I/usr/include/libxml2 -MM $file -MT $dir/`basename $file
>> .c`.o -MT $dir/`basename $file .c`.i; done; done > .depend
>> find . -name "*.o" -o -name "*.i" -o -name "*.a" | xargs rm -f
>> rm -f core gw-config wmlscript/wmlsc wmlscript/wmlsdasm utils/seewbmp
>> utils/mtbatch gw/bearerbox gw/smsbox gw/wapbox utils/run_kannel_box
>> test/decode_emimsg test/decompile test/drive_smpp test/drive_wapbox
>> test/fakesmsc test/fakewap test/test_boxc test/test_cfg test/test_charset
>> test/test_cimd2 test/test_conn test/test_dbpool test/test_dict
>> test/test_headers test/test_hmac test/test_http test/test_http_server
>> test/test_list test/test_md5 test/test_mem test/test_mime
>> test/test_mime_multipart test/test_msg test/test_octstr_dump
>> test/test_octstr_format test/test_octstr_immutables test/test_ota
>> test/test_pap test/test_pcre test/test_pdu test/test_ppg test/test_prioqueue
>> test/test_radius_acct test/test_radius_pdu test/test_regex test/test_si
>> test/test_sl test/test_smsc test/test_store_dump test/test_udp
>> test/test_urltrans test/test_uuid test/test_wakeup test/test_xmlrpc
>> test/timestamp test/udpfeed test/wapproxy test/wml_tester
>> checks/check_counter checks/check_date checks/check_ipcheck
>> checks/check_list checks/check_octstr
>> rm -f doc/userguide/sms-gateway.png doc/userguide/wap-gateway.png
>> doc/arch/bearerbox-arch.png doc/arch/conf-push-session.png
>> doc/arch/external-interfaces.png doc/arch/kannel-boxes.png
>> doc/arch/kannel-push-boxes.png doc/arch/pushbox-threads.png
>> doc/arch/wap-arch.png doc/arch/wap-session.png doc/arch/wapbox-threads.png
>> doc/userguide/sms-gateway.ps doc/userguide/wap-gateway.ps doc/arch/
>> bearerbox-arch.ps doc/arch/conf-push-session.ps doc/arch/
>> external-interfaces.ps doc/arch/kannel-boxes.ps doc/arch/
>> kannel-push-boxes.ps doc/arch/pushbox-threads.ps 
>> doc/arch/wap-arch.psdoc/arch/
>> wap-session.ps doc/arch/wapbox-threads.ps doc/alligata/11-1.psdoc/alligata/
>> 11-3.ps doc/alligata/11-4.ps doc/alligata/11-5.ps 
>> doc/alligata/12-10.psdoc/alligata/
>> 12-11.ps doc/alligata/12-12.ps doc/alligata/12-13.ps 
>> doc/alligata/12-2.psdoc/alligata/
>> 12-3.ps doc/alligata/12-4.ps doc/alligata/12-5.ps 
>> doc/alligata/12-6.psdoc/alligata/
>> 12-7.ps doc/alligata/12-8.ps doc/alligata/12-9.ps 
>> doc/alligata/13-5.psdoc/alligata/
>> done.ps doc/alligata/licences.ps doc/alligata/maininst.ps doc/alligata/
>> nearlydone.ps doc/alligata/nopro.ps doc/alligata/progress.psdoc/alligata/
>> wapdiagsmall.ps doc/wtls/fig10o.ps doc/wtls/fig1o.ps 
>> doc/wtls/fig2o.psdoc/wtls/
>> fig3o.ps doc/wtls/fig4o.ps doc/wtls/fig4out.ps doc/wtls/fig5o.psdoc/wtls/
>> fig5out.ps doc/wtls/fig6o.ps doc/wtls/fig6out.ps 
>> doc/wtls/fig6out1.psdoc/wtls/
>> fig7o.ps doc/wtls/fig8o.ps doc/wtls/fig9o.ps   doc/alligata/alligata.html
>> doc/arch/arch.html doc/userguide/userguide.html doc/wtls/wtls.html
>> doc/alligata/alligata.rtf doc/arch/arch.rtf doc/userguide/userguide.rtf
>> doc/wtls/wtls.rtf doc/alligata/alligata.ps doc/arch/arch.psdoc/userguide/
>> userguide.ps doc/wtls/wtls.ps doc/alligata/alligata.pdf doc/arch/arch.pdf
>> doc/userguide/userguide.pdf doc/wtls/wtls.pdf
>> rm -f benchmarks/report.pdf benchmarks/report.ps benchmarks/report.html
>> rm -rf "/tmp/kannel-rpm/kannel-cvs"
>> if [ -d /tmp/kannel-rpm ]; then rmdir "/tmp/kannel-rpm"; fi
>> rm -f kannel-cvs.tar kannel-cvs.tar.gz
>> Preparing to build the RPM files
>> mkdir -p "/tmp/kannel-rpm/kannel-cvs"
>> cp -R * "/tmp/kannel-rpm/kannel-cvs"
>> tar -C "/tmp/kannel-rpm" -c kannel-cvs -zf kannel-cvs.tar.gz
>> rm -rf "/tmp/kannel-rpm/kannel-cvs"
>> if [ -d /tmp/kannel-rpm ]; then rmdir "/tmp/kannel-rpm"; fi
>> Building the RPM
>> rpmbuild -ta kannel-cvs.tar.gz
>> error: line 140: second %prep
>> make: *** [rpm] Error 1
>>
>>
>> Do you know what is missing?
>>
>>
>> Best regards,
>>
>> Cassio
>>
>>
>>
>> 2009/5/19 Cassio Bobsin Machado <[email protected]>
>>
>> Alejandro, thanks!
>>>
>>> I'll try this tomorrow, and then post results here.
>>>
>>> Cassio
>>>
>>> 2009/5/19 Alejandro Guerrieri <[email protected]>
>>>
>>> Cassio,
>>>> I've made a patch to build an RPM out of CVS. It could be easily ported
>>>> to use 1.4.3 instead (you need to change some references from "cvs" to
>>>> "1.4.3" on the make and spec files). You also need to remove the
>>>> utils/*.spec files for older redhats.
>>>>
>>>> [Or you could just use the CVS version, it's as stable as 1.4.3 and have
>>>> a few new niceties as well]
>>>>
>>>> Check here:
>>>>
>>>> http://www.blogalex.com/archives/23
>>>>
>>>> Hope it helps,
>>>>
>>>> Alejandro
>>>>
>>>> On Tue, May 19, 2009 at 4:43 PM, Cassio Bobsin Machado <
>>>> [email protected]> wrote:
>>>>
>>>>> Hello there!
>>>>>
>>>>> I'm newbie to Kannel, but I really tried searching before posting.
>>>>>
>>>>> Using Kannel 1.4.2 with Centos 5 (x86_64), I suffered the SMPP 3.4 DLR
>>>>> panic problem that was fixed on version 1.4.3.
>>>>>
>>>>> What I'm facing now is that I can't find a RPM of version 1.4.3 to
>>>>> update Kannel. I tried to compile it before, but I was not able to keep it
>>>>> running (it simply droped out constantly). So when I moved to RPM install 
>>>>> of
>>>>> version 1.4.2, I was but to run it smoothly. Of course, until I faced the
>>>>> SMPP 3.4 DLR problem.
>>>>>
>>>>> What I thought is to compile Kannel 1.4.3, and just simply copy over
>>>>> the files that were upgraded, so I can have a 1.4.2 patched version, 
>>>>> without
>>>>> losing RPM advantages I had.
>>>>>
>>>>> Does anybody know wich files should I copy to solve it? Maybe just
>>>>> bearerbox itself, or some library?
>>>>>
>>>>> Otherwise, is there any 1.4.3 version RPM of Kannel for Centos 5
>>>>> (x86_64)?
>>>>>
>>>>>
>>>>> Thanks in advance!
>>>>>
>>>>> Cassio
>>>>>
>>>>
>>>>
>>>
>>
>

Reply via email to