> On October 10, 2005 01:58 pm, Nick Hemmesch wrote:
>> > Hi
>> >
>> > I'm trying to build a toaster on Mandriva 2006. I have been manually
>> > building
>> > packages following the order suggested in the faq. I have been using
>> > mdk102
>> > as the build target and have been successfull up to the ezmlm-toaster
>> > package. I am not a coder and I'm probably in over my head here. This
>> is
>> > the
>> > last few lines of the build process.
>> >
>> > ezmlm-gate.c: In function 'main':
>> > ezmlm-gate.c:84: warning: return type of 'main' is not 'int'
>> > ./compile checktag.c `head -1 conf-sqlcc`
>> > checktag.c: In function 'checktag':
>> > checktag.c:68: warning: return discards qualifiers from pointer target
>> > type
>> > checktag.c:70: warning: return discards qualifiers from pointer target
>> > type
>> > checktag.c:75: warning: return discards qualifiers from pointer target
>> > type
>> > checktag.c:90: warning: return discards qualifiers from pointer target
>> > type
>> > checktag.c:92: warning: return discards qualifiers from pointer target
>> > type
>> > checktag.c:95: warning: return discards qualifiers from pointer target
>> > type
>> > ./compile issub.c `head -1 conf-sqlcc`
>> > ./compile logmsg.c `head -1 conf-sqlcc`
>> > logmsg.c: In function 'logmsg':
>> > logmsg.c:52: warning: return discards qualifiers from pointer target
>> type
>> > ./compile subscribe.c `head -1 conf-sqlcc`
>> > In file included from subscribe.c:17:
>> > log.h:4: warning: conflicting types for built-in function 'log'
>> > ./compile opensql.c `head -1 conf-sqlcc`
>> > opensql.c: In function 'opensql':
>> > opensql.c:95: error: invalid lvalue in assignment
>> > opensql.c:99: warning: return discards qualifiers from pointer target
>> > type make: *** [opensql.o] Error 1
>> > error: Bad exit status from /var/tmp/rpm-tmp.40704 (%build)
>> >
>> >
>> > RPM build errors:
>> > Bad exit status from /var/tmp/rpm-tmp.40704 (%build)
>> >
>> > I have no idea how to fix this. Help please?
>> >
>> > dp
>>
>> Hi Darin,
>>
>> I should have a Mandrake 2006 test box running next week. At first
>> glance,
>> it looks like the value set in conf-sqlcc is wrong for the distro.
>>
>> I will have a look at it as soon as I have time. Could be next week.
>>
>> Regards,
>>
>> Nick
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>
> Hi Nick
>
> Thanks, I appreciate your looking at this.
>
> A couple other things I found on Mandriva 2006.
>
> 1. Control-panel-toaster Mandriva has changed the names of their apache2
> rpms. The spec file needs the build requires apache2-common changed to
> apache-base.
>
> 2. spamassasin-toaster package build fails at adding the man pages. It is
> looking for files in the .gz format. The files are in the .bz2 format. I
> don't know how to fix this one.
>
> Thanks again
>
> dp
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
Hi Darin,
1. Control-panel-toaster Mandriva has changed the names of their apache2
rpms. The spec file needs the build requires apache2-common changed to
apache-base.
Do this (assuming you are using mdk102 switch):
rpm -Uvh control-panel-toaster*.src.rpm
cd /usr/src/RPM/SPECS
edit control-panel-toaster.spec
find the mdk102 section and change apache2-common to apache-base
(there may be more than one)
save the spec file
rpmbuild -ba --with mdk102 control-panel-toaster.spec
2. spamassasin-toaster package build fails at adding the man pages. It is
looking for files in the .gz format. The files are in the .bz2 format. I
don't know how to fix this one.
Take a look in the spec file to see what is being called to convert the
man pages. You are probably short someting in your mdk2006 install. Find
what it is and install it.
Regards,
Nick
PS: I'll check my mail this evening to see if this helped you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]