You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by Georgios Petasis <pe...@iit.demokritos.gr> on 2015/12/09 20:46:55 UTC

How to compile trunk?

Hi all,

I am trying to compile rivet trunk under ubuntu 15.04, but something 
seems wrong.
What I did:

autoreconf -fi
sh configure --enable-64bit --enable-threads \
  --with-tcl=/opt/ActiveTcl-8.6/lib \
  --with-tclsh=/opt/ActiveTcl-8.6/bin/tclsh8.6 \
  --with-apxs=/usr/bin/apxs2 \
  --with-rivet-core=apache-2 \
  --with-rivet-target-dir=/usr/lib/tcltk/rivet2.2 \
  --enable-version-display

However, make terminates with an error:

petasis@Ubuntu64:~/rivet$ make
make  all-recursive
make[1]: Entering directory '/home/petasis/rivet'
Making all in src
make[2]: Entering directory '/home/petasis/rivet/src'
Makefile:708: warning: overriding recipe for target 'apache-2/.dirstamp'
Makefile:688: warning: ignoring old recipe for target 'apache-2/.dirstamp'
Makefile:711: warning: overriding recipe for target 
'apache-2/.deps/.dirstamp'
Makefile:691: warning: ignoring old recipe for target 
'apache-2/.deps/.dirstamp'
Makefile:720: warning: overriding recipe for target 'apache-2/.dirstamp'
Makefile:708: warning: ignoring old recipe for target 'apache-2/.dirstamp'
Makefile:723: warning: overriding recipe for target 
'apache-2/.deps/.dirstamp'
Makefile:711: warning: ignoring old recipe for target 
'apache-2/.deps/.dirstamp'
make[2]: *** No rule to make target 'apache-2/mod_rivet.c', needed by 
'apache-2/mod_rivet_la-mod_rivet.lo'.  Stop.
make[2]: Leaving directory '/home/petasis/rivet/src'
Makefile:506: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/petasis/rivet'
Makefile:436: recipe for target 'all' failed
make: *** [all] Error 2

Any ideas why it is failing?

Regards,

George

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: How to compile trunk?

Posted by Massimo Manghi <mx...@apache.org>.
If you're running mod_rivet built from trunk there should be no 
difference between 2.2 and 2.4. The module should be able to infer from 
the framework which bridge is best for current server, either it was 
built with a certain MPM (like in 2.2) or configured for it (like in 
2.4). I other words: the missing symbol error should occur in both cases 
as thats the basic structure to pass to mod_rivet the pointers to the 
bridge functions

  -- Massimo

On 12/10/2015 07:46 PM, Georgios Petasis wrote:
> No, I have installed it with "make install" first. Nothing was loaded
> from the sources tree.
>
> George
>
> On 10/12/2015 20:05, Massimo Manghi wrote:
>> did you simply loaded mod_rivet.so from the source tree or did you run
>> 'make install' and then picked it from the apache installation
>> directory (/usr/lib/apache2/modules). That's important because the
>> bridges go to the rivet installation directory
>> (/usr/lib/tcltk/rivet3.0/mpm in your case)
>>
>>  -- Massimo
>>
>> On 12/10/2015 06:37 PM, Georgios Petasis wrote:
>>> The missing symbol was "bridge_jump_table".
>>> The test was done on version "Apache/2.4.12 (Ubuntu)", 64-bit, with the
>>> prefork MPM.
>>>
>>> George
>>>
>>> On 10/12/2015 18:38, Massimo Manghi wrote:
>>>> what symbol is missing, what version of Apache are you actually
>>>> running? I can run mod_rivet with apache 2.4.x without a single
>>>> glitch, are you using the prefork or worker MPMs?
>>>>
>>>>  -- Massimo
>>>>
>>>> On 12/10/2015 03:20 PM, Georgios Petasis wrote:
>>>>> Dear Massimo,
>>>>>
>>>>> Thank you for the corrections. I was able to compile the trunk, but it
>>>>> fails to load due to a missing symbol.
>>>>> Using the newly released 2.2.4, everything works fine!
>>>>>
>>>>> Best regards,
>>>>>
>>>>> George
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
>>>> For additional commands, e-mail: rivet-dev-help@tcl.apache.org
>>>>
>>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
> For additional commands, e-mail: rivet-dev-help@tcl.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: How to compile trunk?

Posted by Georgios Petasis <pe...@iit.demokritos.gr>.
No, I have installed it with "make install" first. Nothing was loaded 
from the sources tree.

George

On 10/12/2015 20:05, Massimo Manghi wrote:
> did you simply loaded mod_rivet.so from the source tree or did you run 
> 'make install' and then picked it from the apache installation 
> directory (/usr/lib/apache2/modules). That's important because the 
> bridges go to the rivet installation directory 
> (/usr/lib/tcltk/rivet3.0/mpm in your case)
>
>  -- Massimo
>
> On 12/10/2015 06:37 PM, Georgios Petasis wrote:
>> The missing symbol was "bridge_jump_table".
>> The test was done on version "Apache/2.4.12 (Ubuntu)", 64-bit, with the
>> prefork MPM.
>>
>> George
>>
>> On 10/12/2015 18:38, Massimo Manghi wrote:
>>> what symbol is missing, what version of Apache are you actually
>>> running? I can run mod_rivet with apache 2.4.x without a single
>>> glitch, are you using the prefork or worker MPMs?
>>>
>>>  -- Massimo
>>>
>>> On 12/10/2015 03:20 PM, Georgios Petasis wrote:
>>>> Dear Massimo,
>>>>
>>>> Thank you for the corrections. I was able to compile the trunk, but it
>>>> fails to load due to a missing symbol.
>>>> Using the newly released 2.2.4, everything works fine!
>>>>
>>>> Best regards,
>>>>
>>>> George
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
>>> For additional commands, e-mail: rivet-dev-help@tcl.apache.org
>>>
>>>


---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: How to compile trunk?

Posted by Massimo Manghi <ma...@unipr.it>.
did you simply loaded mod_rivet.so from the source tree or did you run 
'make install' and then picked it from the apache installation directory 
(/usr/lib/apache2/modules). That's important because the bridges go to 
the rivet installation directory (/usr/lib/tcltk/rivet3.0/mpm in your case)

  -- Massimo

On 12/10/2015 06:37 PM, Georgios Petasis wrote:
> The missing symbol was "bridge_jump_table".
> The test was done on version "Apache/2.4.12 (Ubuntu)", 64-bit, with the
> prefork MPM.
>
> George
>
> On 10/12/2015 18:38, Massimo Manghi wrote:
>> what symbol is missing, what version of Apache are you actually
>> running? I can run mod_rivet with apache 2.4.x without a single
>> glitch, are you using the prefork or worker MPMs?
>>
>>  -- Massimo
>>
>> On 12/10/2015 03:20 PM, Georgios Petasis wrote:
>>> Dear Massimo,
>>>
>>> Thank you for the corrections. I was able to compile the trunk, but it
>>> fails to load due to a missing symbol.
>>> Using the newly released 2.2.4, everything works fine!
>>>
>>> Best regards,
>>>
>>> George
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
>> For additional commands, e-mail: rivet-dev-help@tcl.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: How to compile trunk?

Posted by Georgios Petasis <pe...@iit.demokritos.gr>.
The missing symbol was "bridge_jump_table".
The test was done on version "Apache/2.4.12 (Ubuntu)", 64-bit, with the 
prefork MPM.

George

On 10/12/2015 18:38, Massimo Manghi wrote:
> what symbol is missing, what version of Apache are you actually 
> running? I can run mod_rivet with apache 2.4.x without a single 
> glitch, are you using the prefork or worker MPMs?
>
>  -- Massimo
>
> On 12/10/2015 03:20 PM, Georgios Petasis wrote:
>> Dear Massimo,
>>
>> Thank you for the corrections. I was able to compile the trunk, but it
>> fails to load due to a missing symbol.
>> Using the newly released 2.2.4, everything works fine!
>>
>> Best regards,
>>
>> George
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
> For additional commands, e-mail: rivet-dev-help@tcl.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: How to compile trunk?

Posted by Massimo Manghi <ma...@unipr.it>.
what symbol is missing, what version of Apache are you actually running? 
I can run mod_rivet with apache 2.4.x without a single glitch, are you 
using the prefork or worker MPMs?

  -- Massimo

On 12/10/2015 03:20 PM, Georgios Petasis wrote:
> Dear Massimo,
>
> Thank you for the corrections. I was able to compile the trunk, but it
> fails to load due to a missing symbol.
> Using the newly released 2.2.4, everything works fine!
>
> Best regards,
>
> George
>

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: How to compile trunk?

Posted by Georgios Petasis <pe...@iit.demokritos.gr>.
Dear Massimo,

Thank you for the corrections. I was able to compile the trunk, but it 
fails to load due to a missing symbol.
Using the newly released 2.2.4, everything works fine!

Best regards,

George

On 9/12/2015 23:22, Massimo Manghi wrote:
> unless you created your own implementation of mod_rivet in an 
> alternate directory in src you don't need to tell anything, configure 
> will select src/mod_rivet by default (apache-2 is the directory for 
> mod_rivet core module in 2.2 and 2.3). And since we recently decided 
> to label the development branch as 3.0 I would change also
>
> --with-rivet-target-dir=/usr/lib/tcltk/rivet3.0
>
> -- Massimo
>
>
> On 12/09/2015 08:46 PM, Georgios Petasis wrote:
>> Hi all,
>>
>> I am trying to compile rivet trunk under ubuntu 15.04, but something
>> seems wrong.
>> What I did:
>>
>> autoreconf -fi
>> sh configure --enable-64bit --enable-threads \
>>   --with-tcl=/opt/ActiveTcl-8.6/lib \
>>   --with-tclsh=/opt/ActiveTcl-8.6/bin/tclsh8.6 \
>>   --with-apxs=/usr/bin/apxs2 \
>>   --with-rivet-core=apache-2 \
>>   --with-rivet-target-dir=/usr/lib/tcltk/rivet2.2 \
>>   --enable-version-display
>>
>> However, make terminates with an error:
>>
>> [...]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
> For additional commands, e-mail: rivet-dev-help@tcl.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: How to compile trunk?

Posted by Massimo Manghi <mx...@apache.org>.
unless you created your own implementation of mod_rivet in an alternate 
directory in src you don't need to tell anything, configure will select 
src/mod_rivet by default (apache-2 is the directory for mod_rivet core 
module in 2.2 and 2.3). And since we recently decided to label the 
development branch as 3.0 I would change also

--with-rivet-target-dir=/usr/lib/tcltk/rivet3.0

-- Massimo


On 12/09/2015 08:46 PM, Georgios Petasis wrote:
> Hi all,
>
> I am trying to compile rivet trunk under ubuntu 15.04, but something
> seems wrong.
> What I did:
>
> autoreconf -fi
> sh configure --enable-64bit --enable-threads \
>   --with-tcl=/opt/ActiveTcl-8.6/lib \
>   --with-tclsh=/opt/ActiveTcl-8.6/bin/tclsh8.6 \
>   --with-apxs=/usr/bin/apxs2 \
>   --with-rivet-core=apache-2 \
>   --with-rivet-target-dir=/usr/lib/tcltk/rivet2.2 \
>   --enable-version-display
>
> However, make terminates with an error:
>
>[...]

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org