Re: Compiling rep-gtk on Slackware 12.0



Michal Jaegermann <michal harddata com> writes:

> On Wed, Apr 30, 2008 at 09:05:12AM -0400, Joel J. Adamson wrote:
>> Michal Jaegermann <michal harddata com> writes:
>> > Here are corresponding
>> > lines from my spec file for rep-gtk:
>> >
>> > make %{?_smp_mflags} host_type=%{_target_platform} \
>> >     'rep_LIBTOOL = $(repcommonexecdir)/libtool --tag=CXX'
>> 
>> I can't locate this line in the Makefile.in or resulting Makefile.
>
> Of course not.  This is a make invocation which is using
> additional arguments.  Those "%{...}" are rpmbuild macros which
> expand to something reasonable.  Adjust to your circumstances and
> taste.

I see what you mean; that's "make" on the command-line, I failed to
notice that.

>> Nevertheless adding "--tag=..." to the only line I could find doesn't
>> add it to the resulting line after the make command.
>
> It does not - obviously enough; but setting rep_LIBTOOL to something
> else than a default is what makes that diference here.  Quotes
> are vitally important.

Dude, stop saying "obvious."

Okay, I just compiled it successfully with this:

,----
| make "rep_LIBTOOL = /usr/libexec/rep/i486-slackware-linux-gnu/libtool --tag=CC"
`----

Incremental success!  The bane of time management!

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key: http://pgp.mit.edu
http://www.unc.edu/~adamsonj

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]